mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-12-08 23:03:46 +00:00
16 lines
470 B
Text
16 lines
470 B
Text
post_upgrade() {
|
|
if (($(vercmp 5.8.0-1 $2) > 0)); then
|
|
echo "
|
|
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
|
|
"
|
|
fi
|
|
}
|