init: Make sure basic networking is up in systemd unit

Connections with auto=route might otherwise not work.

References #1188.
This commit is contained in:
Tobias Brunner 2015-11-13 10:20:11 +01:00
parent 176c24b8e1
commit 268d029c15

View File

@ -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