mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-07-13 19:29:53 +03:00
20 lines
320 B
Bash
20 lines
320 B
Bash
#!/sbin/openrc-run
|
|
|
|
supervisor=supervise-daemon
|
|
name=apollo
|
|
command="/usr/sbin/apollo"
|
|
pidfile="/run/apollo.pid"
|
|
extra_started_commands="reload"
|
|
|
|
depend() {
|
|
use logger dns
|
|
need net
|
|
after coventry
|
|
}
|
|
|
|
reload() {
|
|
ebegin "Reloading ${RC_SVCNAME}"
|
|
start-stop-daemon --signal HUP --pidfile "${pidfile}"
|
|
eend $?
|
|
}
|
|
|