mirror of
https://github.com/strongswan/strongswan.git
synced 2025-10-04 00:00:14 -04:00
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).
16 lines
389 B
SYSTEMD
16 lines
389 B
SYSTEMD
[Unit]
|
|
Description=strongSwan IPsec IKEv1/IKEv2 daemon using swanctl
|
|
After=network-online.target
|
|
|
|
[Service]
|
|
Type=notify
|
|
ExecStart=@SBINDIR@/charon-systemd
|
|
ExecStartPost=@SBINDIR@/swanctl --load-all --noprompt
|
|
ExecReload=@SBINDIR@/swanctl --reload
|
|
ExecReload=@SBINDIR@/swanctl --load-all --noprompt
|
|
Restart=on-abnormal
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|
|
Alias=strongswan-swanctl.service
|