blob: dc69135c26e3d6d29822a0184229fb86704ad63c (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
#!/sbin/openrc-run
# Distributed under the terms of the GNU General Public License v2
depend() {
need net
}
start() {
ebegin "Starting arpon"
start-stop-daemon --start --background --make-pidfile --pidfile "/var/run/arpon.pid" \
--exec /usr/sbin/arpon -- ${ARPON_OPTS} >/dev/null 2>&1
eend $?
}
stop() {
ebegin "Stopping arpon"
start-stop-daemon --stop --pidfile "/var/run/arpon.pid"
eend $?
}
|