1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-19 09:15:30 +03:00
aports/testing/librespot/librespot.initd
2021-01-18 03:24:14 +00:00

13 lines
348 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:-audio} --stdout $logfile --stderr $logfile"
depends() {
need localmount net
before firewall
}