aboutsummaryrefslogtreecommitdiffstats
path: root/init/systemd/strongswan.service.in
diff options
context:
space:
mode:
Diffstat (limited to 'init/systemd/strongswan.service.in')
-rw-r--r--init/systemd/strongswan.service.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/init/systemd/strongswan.service.in b/init/systemd/strongswan.service.in
index 0bb9d5456..474284a19 100644
--- a/init/systemd/strongswan.service.in
+++ b/init/systemd/strongswan.service.in
@@ -5,6 +5,7 @@ After=syslog.target network-online.target
[Service]
ExecStart=@SBINDIR@/@IPSEC_SCRIPT@ start --nofork
StandardOutput=syslog
+Restart=on-abnormal
[Install]
WantedBy=multi-user.target