mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-04-12 14:56:53 +02:00
18 lines
384 B
Bash
18 lines
384 B
Bash
#!/sbin/openrc-run
|
|
|
|
command=/usr/bin/librespot
|
|
command_args="${librespot_args}"
|
|
pidfile=/run/librespot.pid
|
|
command_background=true
|
|
command_user="${librespot_user:-librespot}:${librespot_group:-librespot}"
|
|
output_log=/var/log/librespot.log
|
|
error_log=/var/log/librespot.log
|
|
|
|
depend() {
|
|
need localmount net
|
|
before firewall
|
|
}
|
|
|
|
start_pre() {
|
|
checkpath -f -o $command_user $output_log
|
|
}
|