[config] Replace network.target with network-online.target in owntone.service

Spotify won't work on boot without dns, and it seems network-online at least
increases the chance of dns being ready.
This commit is contained in:
ejurgensen 2023-08-05 23:51:27 +02:00
parent 60015e1da2
commit f934aadb67
1 changed files with 1 additions and 1 deletions

View File

@ -4,7 +4,7 @@
Description=DAAP/DACP (iTunes), RSP and MPD server, supports AirPlay and Remote
Documentation=man:owntone(8)
Requires=network.target local-fs.target avahi-daemon.socket
After=network.target sound.target remote-fs.target pulseaudio.service
After=network-online.target sound.target remote-fs.target pulseaudio.service
[Service]
ExecStart=@sbindir@/owntone -f