diff options
author | Tobias Brunner <tobias@strongswan.org> | 2017-01-18 13:52:59 +0100 |
---|---|---|
committer | Tobias Brunner <tobias@strongswan.org> | 2017-01-25 15:10:50 +0100 |
commit | 262bff8bd0520b960477a858eabaeb4bbca4748e (patch) | |
tree | 7f790779c0b73698800e202cff6e96d1f940aed4 /init/systemd | |
parent | 68d97ac541409a11bcf323795e4c2890674e5fb1 (diff) | |
download | strongswan-262bff8bd0520b960477a858eabaeb4bbca4748e.tar.bz2 strongswan-262bff8bd0520b960477a858eabaeb4bbca4748e.tar.xz |
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.
Diffstat (limited to 'init/systemd')
-rw-r--r-- | init/systemd/strongswan.service.in | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/init/systemd/strongswan.service.in b/init/systemd/strongswan.service.in index 49c1cd0bf..0bb9d5456 100644 --- a/init/systemd/strongswan.service.in +++ b/init/systemd/strongswan.service.in @@ -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 |