blob: 5f6a1bd8c6e2d46f0ecccc1156960348e86f2d1e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
#!/sbin/runscript
# 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 $?
}
|