aboutsummaryrefslogtreecommitdiffstats
path: root/init/systemd-swanctl
diff options
context:
space:
mode:
Diffstat (limited to 'init/systemd-swanctl')
-rw-r--r--init/systemd-swanctl/strongswan-swanctl.service.in1
1 files changed, 1 insertions, 0 deletions
diff --git a/init/systemd-swanctl/strongswan-swanctl.service.in b/init/systemd-swanctl/strongswan-swanctl.service.in
index 1b865af47..e53c0c6ad 100644
--- a/init/systemd-swanctl/strongswan-swanctl.service.in
+++ b/init/systemd-swanctl/strongswan-swanctl.service.in
@@ -7,6 +7,7 @@ Type=notify
ExecStart=@SBINDIR@/charon-systemd
ExecStartPost=@SBINDIR@/swanctl --load-all --noprompt
ExecReload=@SBINDIR@/swanctl --reload
+Restart=on-abnormal
[Install]
WantedBy=multi-user.target