OpenVoiceOS/buildroot-external/package/spotifyd/spotifyd.service

21 lines
445 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]
User=mycroft
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