1
0
Fork 0
mirror of https://github.com/transmission/transmission synced 2025-01-03 13:35:36 +00:00

fix(daemon): wait for network-online.target (#2721)

network.target does not guarantee interfaces are fully configured, which
can result in bound addresses not being available when the daemon
starts. This leads to errors on start-up and potentially broken
connectivity.
network-online.target does provide these guarantees, but needs a
slightly different dependency configuration with Wants= on top of After=
(cf. systemd.special(7)).

Closes #2720.
This commit is contained in:
FallenWarrior2k 2022-03-01 04:25:07 +01:00 committed by GitHub
parent d115ee6dfb
commit e7272fc340
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -1,6 +1,7 @@
[Unit]
Description=Transmission BitTorrent Daemon
After=network.target
Wants=network-online.target
After=network-online.target
[Service]
User=transmission