blob: 498f8b34acbb943e983816b6ac5cd138819e8ed8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
|
#!/sbin/runscript
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sys-process/incron/files/incrond.init,v 1.1 2011/01/31 15:14:12 idl0r Exp $
depend() {
use clock logger
need localmount
}
start() {
ebegin "Starting incrond"
start-stop-daemon --start --pidfile /var/run/incrond.pid --exec /usr/sbin/incrond -- -f /etc/incron.conf
eend $?
}
stop() {
ebegin "Stopping incrond"
start-stop-daemon --stop --pidfile /var/run/incrond.pid
eend $?
}
|