blob: fa958dbf43891f02364cb65c226ddc3351c74657 (
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
SENSORD_PIDFILE=${SENSORD_PIDFILE:-"/run/sensord.pid"}
SENSORD_SSDARGS=${SENSORD_SSDARGS:-"--wait 1000"}
SENSORD_TERMTIMEOUT=${SENSORD_TERMTIMEOUT:-"TERM/60/KILL/5"}
SENSORD_OPTS=${SENSORD_OPTS:-""}
command="/usr/sbin/sensord"
command_args="${SENSORD_OPTS} --pid-file ${SENSORD_PIDFILE}"
start_stop_daemon_args="${SENSORD_SSDARGS}"
pidfile="${SENSORD_PIDFILE}"
retry="${SENSORD_TERMTIMEOUT}"
depend() {
need localmount
use logger lm_sensors
}
|