init: Provide a service file for charon-systemd using swanctl

This commit is contained in:
Martin Willi
2014-09-22 14:19:38 +02:00
parent b2f76c514d
commit 0097141858
5 changed files with 28 additions and 0 deletions
@@ -0,0 +1,9 @@
[Unit]
Description=strongSwan IPsec IKEv1/IKEv2 daemon using swanctl
After=network.target
[Service]
Type=notify
ExecStart=@SBINDIR@/charon-systemd
ExecStartPost=@SBINDIR@/swanctl --load-all --noprompt
ExecReload=@SBINDIR@/swanctl --reload