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
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')
-rw-r--r--sys-power/acpid/ChangeLog5
-rw-r--r--sys-power/acpid/files/acpid-1.0.4-init.d6
2 files changed, 7 insertions, 4 deletions
diff --git a/sys-power/acpid/ChangeLog b/sys-power/acpid/ChangeLog
index 9ee6b7f7b162..3c762e3a95f4 100644
--- a/sys-power/acpid/ChangeLog
+++ b/sys-power/acpid/ChangeLog
@@ -1,6 +1,9 @@
# 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.
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 $?
}