mirror of
https://github.com/strongswan/strongswan.git
synced 2025-10-04 00:00:14 -04:00
If no other units have dependencies on network-online.target or syslog.target they might not get initialized resulting in a possibly non-ideal startup order. Closes strongswan/strongswan#2279
17 lines
417 B
SYSTEMD
17 lines
417 B
SYSTEMD
[Unit]
|
|
Description=strongSwan IPsec IKEv1/IKEv2 daemon using swanctl
|
|
After=network-online.target
|
|
Wants=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
|