init: Rename systemd units

Use strongswan-starter for the legacy unit and simply strongswan for the
modern one (strongswan-swanctl is configured as alias, which should
cause the installation of symlinks when the service is enabled via
systemctl).
This commit is contained in:
Tobias Brunner
2019-04-24 13:57:48 +02:00
parent 20550480e1
commit 1815c1de52
10 changed files with 35 additions and 34 deletions
@@ -0,0 +1,11 @@
[Unit]
Description=strongSwan IPsec IKEv1/IKEv2 daemon using ipsec.conf
After=syslog.target network-online.target
[Service]
ExecStart=@SBINDIR@/@IPSEC_SCRIPT@ start --nofork
StandardOutput=syslog
Restart=on-abnormal
[Install]
WantedBy=multi-user.target