init: Let systemd restart daemons if they get terminated unexpectedly

Fixes #2205.
This commit is contained in:
Tobias Brunner
2017-01-25 15:10:57 +01:00
parent 262bff8bd0
commit 014737dd54
2 changed files with 2 additions and 0 deletions
@@ -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