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:
parent
d115ee6dfb
commit
e7272fc340
1 changed files with 2 additions and 1 deletions
|
@ -1,6 +1,7 @@
|
||||||
[Unit]
|
[Unit]
|
||||||
Description=Transmission BitTorrent Daemon
|
Description=Transmission BitTorrent Daemon
|
||||||
After=network.target
|
Wants=network-online.target
|
||||||
|
After=network-online.target
|
||||||
|
|
||||||
[Service]
|
[Service]
|
||||||
User=transmission
|
User=transmission
|
||||||
|
|
Loading…
Reference in a new issue