summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Schlemmer <azarah@gentoo.org>2001-11-25 10:47:24 +0000
committerMartin Schlemmer <azarah@gentoo.org>2001-11-25 10:47:24 +0000
commitd7a0f01f4064a05ea6f365843bc52b275744e252 (patch)
treee95e0e2a5c2971f2620b2083cfb9e3ad65307645 /sys-apps/at
parentadded a rc-script for xfs (X Font Server) (diff)
downloadgentoo-2-d7a0f01f4064a05ea6f365843bc52b275744e252.tar.gz
gentoo-2-d7a0f01f4064a05ea6f365843bc52b275744e252.tar.bz2
gentoo-2-d7a0f01f4064a05ea6f365843bc52b275744e252.zip
fix problem with rc6 rc-script where atd fails to stop sometimes (the pid file did not get created ...)
Diffstat (limited to 'sys-apps/at')
-rw-r--r--sys-apps/at/files/atd.rc63
1 files changed, 2 insertions, 1 deletions
diff --git a/sys-apps/at/files/atd.rc6 b/sys-apps/at/files/atd.rc6
index e2034f647ac2..eeca598e9e4f 100644
--- a/sys-apps/at/files/atd.rc6
+++ b/sys-apps/at/files/atd.rc6
@@ -12,6 +12,7 @@ start() {
stop() {
ebegin "Shutting down atd"
- start-stop-daemon --stop --quiet --pidfile /var/run/atd.pid
+ #dont kill with --pidfile, as it does not always get created -- Azarah
+ start-stop-daemon --stop --quiet --exec /usr/sbin/atd
eend $?
}