You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
22 lines
472 B
22 lines
472 B
#!/sbin/openrc-run
|
|
# Distributed under the terms of the GNU General Public License v2
|
|
|
|
depend() {
|
|
need net
|
|
}
|
|
|
|
start() {
|
|
checkpath -f /var/log/arpon.log
|
|
checkpath -f /var/run/arpon.pid
|
|
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 $?
|
|
}
|