dev-libs/oniguruma: arm64 stable (bug #702012)
[gentoo.git] / sys-process / incron / files / incrond.init
1 #!/sbin/openrc-run
2 # Copyright 1999-2011 Gentoo Foundation
3 # Distributed under the terms of the GNU General Public License v2
4
5 depend() {
6         use clock logger
7         need localmount
8 }
9
10 start() {
11         ebegin "Starting incrond"
12         start-stop-daemon --start --pidfile /var/run/incrond.pid --exec /usr/sbin/incrond -- -f /etc/incron.conf
13         eend $?
14 }
15
16 stop() {
17         ebegin "Stopping incrond"
18         start-stop-daemon --stop --pidfile /var/run/incrond.pid
19         eend $?
20 }