aboutsummaryrefslogtreecommitdiffstats
path: root/testing/librespot/librespot.initd
blob: 8a7e42ea68caba6125c63061b8393499dd8717d8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
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:-audio} --stdout $logfile --stderr $logfile"

depends() {
	need localmount net
	before firewall
}