diff options
Diffstat (limited to 'debian/patches/03_systemd-service.patch')
-rw-r--r-- | debian/patches/03_systemd-service.patch | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/debian/patches/03_systemd-service.patch b/debian/patches/03_systemd-service.patch new file mode 100644 index 000000000..5eee9a9b8 --- /dev/null +++ b/debian/patches/03_systemd-service.patch @@ -0,0 +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-online.target ++After=network-online.target + + [Service] + ExecStart=@SBINDIR@/@IPSEC_SCRIPT@ start --nofork ++ExecReload=@SBINDIR@/@IPSEC_SCRIPT@ reload + StandardOutput=syslog + Restart=on-abnormal + |