aboutsummaryrefslogtreecommitdiffstats
path: root/init
diff options
context:
space:
mode:
authorTobias Brunner <tobias@strongswan.org>2015-11-13 10:20:11 +0100
committerTobias Brunner <tobias@strongswan.org>2015-11-13 10:20:11 +0100
commit268d029c15c24e29cd7e54cca97f7d7ee0e2a679 (patch)
tree14ff364a3d34ac392e78d81e42306b2540ea6057 /init
parent176c24b8e156111411aa7c0ed7204050f6ab4581 (diff)
downloadstrongswan-268d029c15c24e29cd7e54cca97f7d7ee0e2a679.tar.bz2
strongswan-268d029c15c24e29cd7e54cca97f7d7ee0e2a679.tar.xz
init: Make sure basic networking is up in systemd unit
Connections with auto=route might otherwise not work. References #1188.
Diffstat (limited to 'init')
-rw-r--r--init/systemd/strongswan.service.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/init/systemd/strongswan.service.in b/init/systemd/strongswan.service.in
index 608078b1e..49c1cd0bf 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
+After=syslog.target network.target
[Service]
ExecStart=@SBINDIR@/@IPSEC_SCRIPT@ start --nofork