summaryrefslogtreecommitdiff
path: root/debian/patches/03_systemd-service.patch
diff options
context:
space:
mode:
authorRomain Francoise <rfrancoise@debian.org>2014-07-25 23:15:34 +0200
committerRomain Francoise <rfrancoise@debian.org>2014-07-25 23:55:55 +0200
commitd5dc988a10f44a08f0b85e85d23abbd84c06a927 (patch)
treed8ceacb101a49d6a1c98e3607fdb401fba82bcfb /debian/patches/03_systemd-service.patch
parent9057ca8363bf16444c3f80b2f0c5222565ad216e (diff)
downloadvyos-strongswan-d5dc988a10f44a08f0b85e85d23abbd84c06a927.tar.gz
vyos-strongswan-d5dc988a10f44a08f0b85e85d23abbd84c06a927.zip
Initial systemd integration
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