1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-23 19:25:25 +03:00
aports/testing/librespot/librespot.initd
2017-04-16 13:48:45 +02:00

13 lines
352 B
Text

#!/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
}