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