summaryrefslogtreecommitdiff
path: root/debian/patches/03_systemd-service.patch
diff options
context:
space:
mode:
Diffstat (limited to 'debian/patches/03_systemd-service.patch')
-rw-r--r--debian/patches/03_systemd-service.patch15
1 files changed, 15 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..bcf581295
--- /dev/null
+++ b/debian/patches/03_systemd-service.patch
@@ -0,0 +1,15 @@
+--- a/init/systemd/strongswan.service.in
++++ b/init/systemd/strongswan.service.in
+@@ -1,10 +1,11 @@
+ [Unit]
+ Description=strongSwan IPsec
+-After=syslog.target
+
+ [Service]
+ ExecStart=@SBINDIR@/@IPSEC_SCRIPT@ start --nofork
++ExecReload=@SBINDIR@/@IPSEC_SCRIPT@ reload
+ StandardOutput=syslog
+
+ [Install]
+ WantedBy=multi-user.target
++Alias=ipsec.service