summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCiaran McCreesh <ciaranm@gentoo.org>2005-03-03 17:40:23 +0000
committerCiaran McCreesh <ciaranm@gentoo.org>2005-03-03 17:40:23 +0000
commitfe9970fc2a680ea1fb72ce8c6d6e3569b1bde63e (patch)
tree6501a24dfbd2a01736569ddb0cfbe8783f42c0bd /sys-process/at/files/atd.rc6
parentMoved sys-apps/anacron to sys-process/anacron (diff)
downloadgentoo-2-fe9970fc2a680ea1fb72ce8c6d6e3569b1bde63e.tar.gz
gentoo-2-fe9970fc2a680ea1fb72ce8c6d6e3569b1bde63e.tar.bz2
gentoo-2-fe9970fc2a680ea1fb72ce8c6d6e3569b1bde63e.zip
Moved from sys-apps/at to sys-process/at.
Diffstat (limited to 'sys-process/at/files/atd.rc6')
-rwxr-xr-xsys-process/at/files/atd.rc621
1 files changed, 21 insertions, 0 deletions
diff --git a/sys-process/at/files/atd.rc6 b/sys-process/at/files/atd.rc6
new file mode 100755
index 000000000000..da022b0b769f
--- /dev/null
+++ b/sys-process/at/files/atd.rc6
@@ -0,0 +1,21 @@
+#!/sbin/runscript
+# Copyright 1999-2004 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-process/at/files/atd.rc6,v 1.1 2005/03/03 17:40:23 ciaranm Exp $
+
+depend() {
+ need clock logger
+}
+
+start() {
+ ebegin "Starting atd"
+ start-stop-daemon --start --quiet --pidfile /var/run/atd.pid \
+ --startas /usr/sbin/atd
+ eend $?
+}
+
+stop() {
+ ebegin "Shutting down atd"
+ start-stop-daemon --stop --quiet --pidfile /var/run/atd.pid
+ eend $?
+}