summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoy Marples <uberlord@gentoo.org>2006-12-07 00:08:44 +0000
committerRoy Marples <uberlord@gentoo.org>2006-12-07 00:08:44 +0000
commit769290f60141ce975bd87afca7887803a32076c0 (patch)
tree08ff694eb99bf503fdccef78bb37dc964df49253 /sys-power/acpid/files
parentStop PROVIDEing mpi virtual, we're on a new-style virtual now. (diff)
downloadgentoo-2-769290f60141ce975bd87afca7887803a32076c0.tar.gz
gentoo-2-769290f60141ce975bd87afca7887803a32076c0.tar.bz2
gentoo-2-769290f60141ce975bd87afca7887803a32076c0.zip
Make acpid more robust for start-stop-daemon.
(Portage version: 2.1.2_rc2-r5)
Diffstat (limited to 'sys-power/acpid/files')
-rw-r--r--sys-power/acpid/files/acpid-1.0.4-init.d6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys-power/acpid/files/acpid-1.0.4-init.d b/sys-power/acpid/files/acpid-1.0.4-init.d
index a6272987f9c8..e46803582270 100644
--- a/sys-power/acpid/files/acpid-1.0.4-init.d
+++ b/sys-power/acpid/files/acpid-1.0.4-init.d
@@ -1,7 +1,7 @@
#!/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"
@@ -20,7 +20,7 @@ start() {
checkconfig || return 1
ebegin "Starting acpid"
- acpid ${ACPID_OPTIONS}
+ start-stop-daemon --start --exec /usr/sbin/acpid -- ${ACPID_OPTIONS}
eend $?
}
@@ -32,6 +32,6 @@ stop() {
reload() {
ebegin "Reloading acpid configuration"
- killall -HUP acpid
+ start-stop-daemon --stop --oknodo --exec /usr/sbin/acpid --signal HUP
eend $?
}