summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDonny Davies <woodchip@gentoo.org>2002-03-18 03:28:41 +0000
committerDonny Davies <woodchip@gentoo.org>2002-03-18 03:28:41 +0000
commit4a0ed7c89352e3b156fbd4528ace5b34c0832019 (patch)
tree20813e94e2490570c5495f3b7eb6c11d65863114 /sys-apps/apmd/files
parentAdded dev-util/indent do DEPEND flags (diff)
downloadhistorical-4a0ed7c89352e3b156fbd4528ace5b34c0832019.tar.gz
historical-4a0ed7c89352e3b156fbd4528ace5b34c0832019.tar.bz2
historical-4a0ed7c89352e3b156fbd4528ace5b34c0832019.zip
fix initscript to allow apmd to start properly. closes #1143, #1072.
Diffstat (limited to 'sys-apps/apmd/files')
-rw-r--r--sys-apps/apmd/files/apmd.rc66
-rw-r--r--sys-apps/apmd/files/digest-apmd-3.0.2-r1 (renamed from sys-apps/apmd/files/digest-apmd-3.0.2)0
2 files changed, 3 insertions, 3 deletions
diff --git a/sys-apps/apmd/files/apmd.rc6 b/sys-apps/apmd/files/apmd.rc6
index 8fdd56fdd043..e7626da619db 100644
--- a/sys-apps/apmd/files/apmd.rc6
+++ b/sys-apps/apmd/files/apmd.rc6
@@ -1,7 +1,7 @@
#!/sbin/runscript
# Copyright 1999-2002 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/apmd/files/apmd.rc6,v 1.3 2002/02/01 01:09:41 woodchip Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/apmd/files/apmd.rc6,v 1.4 2002/03/18 03:28:41 woodchip Exp $
depend() {
need localmount
@@ -17,8 +17,8 @@ checkconfig() {
start() {
checkconfig || return 1
ebegin "Starting apmd"
- start-stop-daemon --start --quiet --exec /usr/sbin/apmd \
- --make-pidfile --pidfile /var/run/apmd.pid -- ${APMD_OPTS}
+ start-stop-daemon --start --quiet --pidfile /var/run/apmd.pid \
+ --startas /usr/sbin/apmd -- ${APMD_OPTS}
eend $?
}
diff --git a/sys-apps/apmd/files/digest-apmd-3.0.2 b/sys-apps/apmd/files/digest-apmd-3.0.2-r1
index 9a9bc483e68a..9a9bc483e68a 100644
--- a/sys-apps/apmd/files/digest-apmd-3.0.2
+++ b/sys-apps/apmd/files/digest-apmd-3.0.2-r1