From 87e056ed1641aae701a57d0cba69c6a086bf49b5 Mon Sep 17 00:00:00 2001 From: Yves-Alexis Perez Date: Sat, 1 Apr 2017 16:28:54 +0200 Subject: debian/patches/03_systemd-service refreshed. --- debian/patches/03_systemd-service.patch | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) (limited to 'debian/patches') 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] -- cgit v1.2.3