diff options
author | Bart Ribbers <bribbers@disroot.org> | 2018-07-10 17:37:43 +0200 |
---|---|---|
committer | Sören Tempel <soeren+git@soeren-tempel.net> | 2018-10-14 13:17:54 +0200 |
commit | 8d213358254fd1dc606bbd7f92f1ea299b6d5c56 (patch) | |
tree | c83278b87d39999bae232a261dc12ef2b0e3868c /community/snapcast/snapcast-server.initd | |
parent | 639e4e8ca4d2b82a73a8f68a69a718c01d323cab (diff) | |
download | aports-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.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 +} + |