diff options
author | Carlo Landmeter <clandmeter@gmail.com> | 2017-04-16 13:48:41 +0200 |
---|---|---|
committer | Carlo Landmeter <clandmeter@gmail.com> | 2017-04-16 13:48:45 +0200 |
commit | 2f03bd64f5aac2f44fcaf95f047d57482eb9d177 (patch) | |
tree | 25092f123c9de2b5d5b3390dbcc0a4b4c474c0e7 /testing/librespot/librespot.initd | |
parent | 080bc4539da884ff321834b7d8b80465e53869b9 (diff) | |
download | aports-2f03bd64f5aac2f44fcaf95f047d57482eb9d177.tar.bz2 aports-2f03bd64f5aac2f44fcaf95f047d57482eb9d177.tar.xz |
testing/librespot: new aport
Diffstat (limited to 'testing/librespot/librespot.initd')
-rw-r--r-- | testing/librespot/librespot.initd | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/testing/librespot/librespot.initd b/testing/librespot/librespot.initd new file mode 100644 index 0000000000..f4ed8777ca --- /dev/null +++ b/testing/librespot/librespot.initd @@ -0,0 +1,13 @@ +#!/sbin/openrc-run + +command=/usr/bin/librespot +command_args="${librespot_args}" +pidfile=/run/librespot.pid +command_background=true +logfile="/var/log/librespot.log" +start_stop_daemon_args="--user ${librespot_user:-librespot} --group ${librespot_group:-librespot} --stdout $logfile --stderr $logfile" + +depends() { + need localmount net + before firewall +} |