]> git.pld-linux.org Git - packages/acpid.git/blame - acpid.upstart
- up to 2.0.10
[packages/acpid.git] / acpid.upstart
CommitLineData
dd852339
ER
1description "ACPI Event Daemon"
2
3# need syslog, or it will log to console
4start on local-filesystems and started SERVICE=syslog
5stop on pld.shutdown-started
6
7respawn
8
9script
10 . /etc/rc.d/init.d/functions
11
12 if [ -f /etc/sysconfig/acpid ]; then
13 . /etc/sysconfig/acpid
14 fi
15
16 if is_yes "$NETLINK"; then
17 PROGRAM_ARGS="$PROGRAM_ARGS -n"
18 fi
19 if [ "$CLIENTMAX" ]; then
20 PROGRAM_ARGS="$PROGRAM_ARGS -C $CLIENTMAX"
21 fi
22 exec /usr/sbin/acpid -f $PROGRAM_ARGS
23end script
This page took 0.113612 seconds and 4 git commands to generate.