mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-01-18 07:02:29 +01:00
19 lines
340 B
Plaintext
19 lines
340 B
Plaintext
#!/sbin/openrc-run
|
|
|
|
name=mopidy
|
|
command="/usr/bin/mopidy"
|
|
command_args="--config /etc/mopidy/mopidy.conf"
|
|
command_user="mopidy"
|
|
start_stop_daemon_args="--background --make-pidfile"
|
|
pidfile="/run/mopidy.pid"
|
|
|
|
depend() {
|
|
need net
|
|
after firewall
|
|
}
|
|
|
|
start_pre() {
|
|
checkpath --directory --owner mopidy:audio --mode 0775 \
|
|
/var/log/mopidy
|
|
}
|