diff options
Diffstat (limited to 'community/snapcast/snapcast-server.initd')
-rw-r--r-- | community/snapcast/snapcast-server.initd | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/community/snapcast/snapcast-server.initd b/community/snapcast/snapcast-server.initd new file mode 100644 index 0000000000..ae336d36cf --- /dev/null +++ b/community/snapcast/snapcast-server.initd @@ -0,0 +1,18 @@ +#!/sbin/openrc-run + +name=snapserver +command="/usr/bin/snapserver" +command_args="-d $snapserver_opts" +command_user="snapcast" +start_stop_daemon_args="--quiet" + +depend() { + need net + after firewall +} + +start_pre() { + checkpath --directory --owner snapcast:audio --mode 0775 \ + /run/snapserver +} + |