diff options
author | Marvin Steadfast <marvin@xsteadfastx.org> | 2017-04-10 10:23:30 +0200 |
---|---|---|
committer | Carlo Landmeter <clandmeter@gmail.com> | 2017-04-12 17:01:50 +0200 |
commit | 8dd03a19ba168787b7f7820d6c2dc34625e7dd6a (patch) | |
tree | 1cc2c90a87569998872c288093820b6e5ac31906 /testing/snapcast/snapcast-server.initd | |
parent | 3489cf01cef394b4d8b7eedd4b542fa21d7bca2f (diff) | |
download | aports-8dd03a19ba168787b7f7820d6c2dc34625e7dd6a.tar.bz2 aports-8dd03a19ba168787b7f7820d6c2dc34625e7dd6a.tar.xz |
testing/snapserver: splitting into subpackages
snapserver is now a metapackage installing snapclient and snapserver.
also added default config and init file for snapserver.
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 +} |