diff options
author | Yves-Alexis Perez <corsac@corsac.net> | 2017-04-01 16:28:54 +0200 |
---|---|---|
committer | Yves-Alexis Perez <corsac@corsac.net> | 2017-04-01 16:30:50 +0200 |
commit | 87e056ed1641aae701a57d0cba69c6a086bf49b5 (patch) | |
tree | 12941f6994acb29eb608bbd2e3d506ee3714defd /debian/patches/03_systemd-service.patch | |
parent | ea0ca6d7dd7a2fdce6c7257567f903d17b292faf (diff) | |
download | vyos-strongswan-87e056ed1641aae701a57d0cba69c6a086bf49b5.tar.gz vyos-strongswan-87e056ed1641aae701a57d0cba69c6a086bf49b5.zip |
debian/patches/03_systemd-service refreshed.
Diffstat (limited to 'debian/patches/03_systemd-service.patch')
-rw-r--r-- | debian/patches/03_systemd-service.patch | 9 |
1 files changed, 6 insertions, 3 deletions
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] |