mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-01-01 06:42:01 +01:00
25 lines
376 B
Plaintext
25 lines
376 B
Plaintext
#!/sbin/openrc-run
|
|
|
|
NAME=arpon
|
|
DAEMON=/usr/sbin/$NAME
|
|
|
|
depend() {
|
|
need net
|
|
after firewall
|
|
}
|
|
|
|
start() {
|
|
ebegin "Starting ${NAME}"
|
|
start-stop-daemon --start --quiet \
|
|
--pidfile /var/run/${NAME}.pid \
|
|
--exec ${DAEMON} -- -d ${ARPON_OPTS}
|
|
eend $?
|
|
}
|
|
|
|
stop() {
|
|
ebegin "Stopping ${NAME}"
|
|
start-stop-daemon --stop --quiet \
|
|
--pidfile /var/run/${NAME}.pid
|
|
eend $?
|
|
}
|