blob: c8878ee60f0b0242a96accf8e50aae71691cf4e1 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
#!/sbin/openrc-run
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
command="/usr/sbin/sensord"
pidfile="/run/${RC_SVCNAME}.pid"
: ${SENSORD_SSDARGS:=--wait 1000}
: ${SENSORD_TERMTIMEOUT:=TERM/60/KILL/5}
: ${SENSORD_OPTS:=}
command_args="${SENSORD_OPTS} --pid-file ${pidfile}"
start_stop_daemon_args="${SENSORD_SSDARGS}"
retry="${SENSORD_TERMTIMEOUT}"
depend() {
need localmount
use logger lm_sensors
}
|