diff options
Diffstat (limited to 'testing/snapcast/snapcast-server.initd')
-rw-r--r-- | testing/snapcast/snapcast-server.initd | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/testing/snapcast/snapcast-server.initd b/testing/snapcast/snapcast-server.initd new file mode 100644 index 0000000000..ab70a84a14 --- /dev/null +++ b/testing/snapcast/snapcast-server.initd @@ -0,0 +1,12 @@ +#!/sbin/openrc-run + +name="$RC_SVCNAME" +command="/usr/bin/snapserver" +command_args="${USER_OPTS:---user snapcast:snapcast} $SNAPSERVER_OPTS" +command_background=yes +pidfile="/run/$RC_SVCNAME.pid" + +depend() { + need net + after firewall +} |