PKGBUILDs/community/strongswan/strongswan.install

17 lines
470 B
Plaintext
Raw Normal View History

2019-11-16 14:54:38 +00:00
post_upgrade() {
if (($(vercmp 5.8.0-1 $2) > 0)); then
2019-11-16 16:49:25 +00:00
echo "
2019-11-16 14:54:38 +00:00
Strongswan 5.8.0-1 introduced new names for the systemd unit files:
strongswan.service got renamed to strongswan-starter.service
strongswan-swanctl.service got renamed to strongswan.service
If you use the legacy ipsec.conf, you need to enable
strongswan-starter.service from now on.
If you use swanctl, you need to enable strongswan.service from now on.
EOF
2019-11-16 16:49:25 +00:00
"
fi
2019-11-16 14:54:38 +00:00
}