20 lines
432 B
SYSTEMD
20 lines
432 B
SYSTEMD
[Unit]
|
|
Description=A Spotify connect daemon
|
|
Documentation=https://github.com/Spotifyd/spotifyd
|
|
Wants=sound.target
|
|
After=sound.target
|
|
Wants=network-online.target
|
|
After=network-online.target
|
|
After=pulseaudio.service
|
|
|
|
[Service]
|
|
Type=simple
|
|
ExecStart=/usr/bin/spotifyd --no-daemon
|
|
Restart=always
|
|
RestartSec=5
|
|
StandardOutput=file:/var/log/spotifyd.log
|
|
StandardError=file:/var/log/spotifyd.error.log
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|