summaryrefslogtreecommitdiff
path: root/debian/patches/03_systemd-service.patch
AgeCommit message (Collapse)Author
2017-04-01debian/patches/03_systemd-service refreshed.Yves-Alexis Perez
2015-11-18Refresh 03_systemd-service.patchYves-Alexis Perez
* debian/patches: - 03_systemd-service refreshed for new upstream release.
2015-04-04Fix handling of ipsec name under systemd (#781209)Romain Francoise
We used to make the old ipsec name, which corresponds to the sysvinit init script, available via an Alias directive in the systemd service file (which follows upstream and is named strongswan.service). Unfortunately this results in a situation where the strongswan-starter postinst calls invoke-rc.d using the ipsec name before the service has been installed, and thus uses the sysvinit script instead of systemd's native unit. This results in some confusion later when the unit gets installed. To avoid this, ship a symlink in the package, this way the ipsec name is available as soon as the package has been unpacked. Thanks to Michael Biebl for the suggestion.
2014-10-21Refresh patches against 5.2.1Romain Francoise
2014-07-26Use After=network.targetRomain Francoise
Primarily because otherwise the network may go down before charon gets the opportunity to send deletes on exit, and it matches what the old init script did. Note that in Debian, network.target apparently runs after ifup so the network is in most cases really up, so we don't need network-online.target. (And charon uses rtnetlink to get notified of changes anyway.)
2014-07-25Initial systemd integrationRomain Francoise