aboutsummaryrefslogtreecommitdiffstats
path: root/community/snapcast/snapcast-server.initd
diff options
context:
space:
mode:
authorBart Ribbers <bribbers@disroot.org>2018-07-10 17:37:43 +0200
committerSören Tempel <soeren+git@soeren-tempel.net>2018-10-14 13:17:54 +0200
commit8d213358254fd1dc606bbd7f92f1ea299b6d5c56 (patch)
treec83278b87d39999bae232a261dc12ef2b0e3868c /community/snapcast/snapcast-server.initd
parent639e4e8ca4d2b82a73a8f68a69a718c01d323cab (diff)
downloadaports-8d213358254fd1dc606bbd7f92f1ea299b6d5c56.tar.bz2
aports-8d213358254fd1dc606bbd7f92f1ea299b6d5c56.tar.xz
testing/snapcast: move to community
Diffstat (limited to 'community/snapcast/snapcast-server.initd')
-rw-r--r--community/snapcast/snapcast-server.initd18
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
+}
+