/[gentoo-x86]/sys-process/dcron/files/dcron.init-4.4
Gentoo

Contents of /sys-process/dcron/files/dcron.init-4.4

Parent Directory Parent Directory | Revision Log Revision Log


Revision 1.1 - (show annotations) (download)
Tue Oct 26 07:07:10 2010 UTC (4 years, 9 months ago) by vapier
Branch: MAIN
CVS Tags: HEAD
Version bump #318703 by Sebastian Pipping.

(Portage version: 2.2_rc96/cvs/Linux x86_64)

1 #!/sbin/runscript
2 # Copyright 1999-2010 Gentoo Foundation
3 # Distributed under the terms of the GNU General Public License v2
4 # $Header: /var/cvsroot/gentoo-x86/sys-process/dcron/files/dcron.init,v 1.3 2009/05/12 20:59:20 bangert Exp $
5
6 depend() {
7 use logger clock hostname
8 provide cron
9 }
10
11 start() {
12 ebegin "Starting ${SVCNAME}"
13 /usr/sbin/crond ${DCRON_OPTS}
14 eend $?
15 }
16
17 stop() {
18 ebegin "Stopping ${SVCNAME}"
19 start-stop-daemon --stop --quiet \
20 --pidfile /var/run/cron.pid --exec /usr/sbin/crond
21 local ret=$?
22 rm -f /var/run/cron.pid
23 eend ${ret}
24 }

  ViewVC Help
Powered by ViewVC 1.1.20