[Pkg-swan-devel] [strongswan] 04/07: debian/patches/03_systemd-service refreshed.

Yves-Alexis Perez corsac at moszumanska.debian.org
Fri May 19 09:55:13 UTC 2017


This is an automated email from the git hooks/post-receive script.

corsac pushed a commit to branch master
in repository strongswan.

commit 87e056ed1641aae701a57d0cba69c6a086bf49b5
Author: Yves-Alexis Perez <corsac at corsac.net>
Date:   Sat Apr 1 16:28:54 2017 +0200

    debian/patches/03_systemd-service refreshed.
---
 debian/changelog                        | 1 +
 debian/patches/03_systemd-service.patch | 9 ++++++---
 2 files changed, 7 insertions(+), 3 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 6360dc0..96c3cfb 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 at 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 e18867e..5eee9a9 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]

-- 
Alioth's /usr/local/bin/git-commit-notice on /srv/git.debian.org/git/pkg-swan/strongswan.git



More information about the Pkg-swan-devel mailing list