diff options
Diffstat (limited to 'init/systemd-swanctl/strongswan-swanctl.service.in')
-rw-r--r-- | init/systemd-swanctl/strongswan-swanctl.service.in | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/init/systemd-swanctl/strongswan-swanctl.service.in b/init/systemd-swanctl/strongswan-swanctl.service.in index 944101faf..e53c0c6ad 100644 --- a/init/systemd-swanctl/strongswan-swanctl.service.in +++ b/init/systemd-swanctl/strongswan-swanctl.service.in @@ -1,12 +1,13 @@ [Unit] Description=strongSwan IPsec IKEv1/IKEv2 daemon using swanctl -After=network.target +After=network-online.target [Service] Type=notify ExecStart=@SBINDIR@/charon-systemd ExecStartPost=@SBINDIR@/swanctl --load-all --noprompt ExecReload=@SBINDIR@/swanctl --reload +Restart=on-abnormal [Install] WantedBy=multi-user.target |