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).
12 lines
255 B
Plaintext
12 lines
255 B
Plaintext
[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
|