aboutsummaryrefslogtreecommitdiffstats
path: root/testing/librespot/librespot.initd
blob: f4ed8777cabfee8c564060d75d454860db9cdb3f (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:-librespot} --stdout $logfile --stderr $logfile"

depends() {
	need localmount net
	before firewall
}