luniebox/contrib/service/spotifyd.service

16 lines
343 B
SYSTEMD
Raw Permalink Normal View History

2022-02-06 10:19:03 +01:00
[Unit]
Description=the spotify playing daemon
Wants=sound.target
After=sound.target
Wants=network-online.target
After=network-online.target
[Service]
User=pi
Group=pi
ExecStart=/home/pi/luniebox/bin/spotifyd --config-path /home/pi/luniebox/config/spotifyd.cfg --no-daemon
Restart=on-failure
RestartSec=15
2022-02-06 10:19:03 +01:00
[Install]
WantedBy=multi-user.target