summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--debian/changelog1
-rw-r--r--debian/patches/03_systemd-service.patch9
2 files changed, 7 insertions, 3 deletions
diff --git a/debian/changelog b/debian/changelog
index 6360dc083..96c3cfb1c 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,6 +1,7 @@
strongswan (5.5.2-1) UNRELEASED; urgency=medium
* New upstream release.
+ * debian/patches/03_systemd-service refreshed.
-- Yves-Alexis Perez <corsac@debian.org> Sat, 01 Apr 2017 16:26:52 +0200
diff --git a/debian/patches/03_systemd-service.patch b/debian/patches/03_systemd-service.patch
index e18867ec5..5eee9a9b8 100644
--- a/debian/patches/03_systemd-service.patch
+++ b/debian/patches/03_systemd-service.patch
@@ -1,14 +1,17 @@
+diff --git a/debian/patches/03_systemd-service.patch b/debian/patches/03_systemd-service.patch
+diff --git a/init/systemd/strongswan.service.in b/init/systemd/strongswan.service.in
+index 474284a19..8060d1ea2 100644
--- a/init/systemd/strongswan.service.in
+++ b/init/systemd/strongswan.service.in
@@ -1,9 +1,10 @@
[Unit]
Description=strongSwan IPsec IKEv1/IKEv2 daemon using ipsec.conf
--After=syslog.target network.target
-+After=network.target
+-After=syslog.target network-online.target
++After=network-online.target
[Service]
ExecStart=@SBINDIR@/@IPSEC_SCRIPT@ start --nofork
+ExecReload=@SBINDIR@/@IPSEC_SCRIPT@ reload
StandardOutput=syslog
+ Restart=on-abnormal
- [Install]