Package-Manager: portage-2.1.2_rc2-r5
# ChangeLog for sys-power/acpid
# Copyright 2002-2006 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-power/acpid/ChangeLog,v 1.23 2006/07/04 20:07:45 chutzpah Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-power/acpid/ChangeLog,v 1.24 2006/12/07 00:08:44 uberlord Exp $
+
+ 07 Dec 2006; Roy Marples <uberlord@gentoo.org> files/acpid-1.0.4-init.d:
+ Make acpid more robust for start-stop-daemon.
04 Jul 2006; Patrick McLean <chutzpah@gentoo.org> metadata.xml:
Take over maintainership.
#!/sbin/runscript
# Copyright 1999-2006 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-power/acpid/files/acpid-1.0.4-init.d,v 1.4 2006/08/20 04:16:44 vapier Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-power/acpid/files/acpid-1.0.4-init.d,v 1.5 2006/12/07 00:08:44 uberlord Exp $
opts="reload"
checkconfig || return 1
ebegin "Starting acpid"
- acpid ${ACPID_OPTIONS}
+ start-stop-daemon --start --exec /usr/sbin/acpid -- ${ACPID_OPTIONS}
eend $?
}
reload() {
ebegin "Reloading acpid configuration"
- killall -HUP acpid
+ start-stop-daemon --stop --oknodo --exec /usr/sbin/acpid --signal HUP
eend $?
}