mirror of
https://github.com/strongswan/strongswan.git
synced 2025-10-04 00:00:14 -04:00
init: Depend on network-online.target instead of network.target in systemd units
This makes sure the network is "up" before connections are loaded/initiated. Fixes #2205.
This commit is contained in:
parent
68d97ac541
commit
262bff8bd0
@ -1,6 +1,6 @@
|
||||
[Unit]
|
||||
Description=strongSwan IPsec IKEv1/IKEv2 daemon using swanctl
|
||||
After=network.target
|
||||
After=network-online.target
|
||||
|
||||
[Service]
|
||||
Type=notify
|
||||
|
@ -1,6 +1,6 @@
|
||||
[Unit]
|
||||
Description=strongSwan IPsec IKEv1/IKEv2 daemon using ipsec.conf
|
||||
After=syslog.target network.target
|
||||
After=syslog.target network-online.target
|
||||
|
||||
[Service]
|
||||
ExecStart=@SBINDIR@/@IPSEC_SCRIPT@ start --nofork
|
||||
|
Loading…
x
Reference in New Issue
Block a user