init: Provide a service file for charon-systemd using swanctl
[strongswan.git] / init / systemd-swanctl / strongswan-swanctl.service.in
1 [Unit]
2 Description=strongSwan IPsec IKEv1/IKEv2 daemon using swanctl
3 After=network.target
4
5 [Service]
6 Type=notify
7 ExecStart=@SBINDIR@/charon-systemd
8 ExecStartPost=@SBINDIR@/swanctl --load-all --noprompt
9 ExecReload=@SBINDIR@/swanctl --reload