Author: glen Date: Thu Jan 27 21:48:16 2011 GMT Module: packages Tag: HEAD ---- Log message: - upstart config
---- Files affected: packages/acpid: acpid.upstart (NONE -> 1.1) (NEW) ---- Diffs: ================================================================ Index: packages/acpid/acpid.upstart diff -u /dev/null packages/acpid/acpid.upstart:1.1 --- /dev/null Thu Jan 27 22:48:16 2011 +++ packages/acpid/acpid.upstart Thu Jan 27 22:48:11 2011 @@ -0,0 +1,23 @@ +description "ACPI Event Daemon" + +# need syslog, or it will log to console +start on local-filesystems and started SERVICE=syslog +stop on pld.shutdown-started + +respawn + +script + . /etc/rc.d/init.d/functions + + if [ -f /etc/sysconfig/acpid ]; then + . /etc/sysconfig/acpid + fi + + if is_yes "$NETLINK"; then + PROGRAM_ARGS="$PROGRAM_ARGS -n" + fi + if [ "$CLIENTMAX" ]; then + PROGRAM_ARGS="$PROGRAM_ARGS -C $CLIENTMAX" + fi + exec /usr/sbin/acpid -f $PROGRAM_ARGS +end script ================================================================ _______________________________________________ pld-cvs-commit mailing list [email protected] http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit
