diff options
Diffstat (limited to 'debian/patches')
-rw-r--r-- | debian/patches/03_systemd-service.patch | 15 | ||||
-rw-r--r-- | debian/patches/series | 1 |
2 files changed, 16 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 diff --git a/debian/patches/series b/debian/patches/series index 27732685c..7d9c29e3d 100644 --- a/debian/patches/series +++ b/debian/patches/series @@ -1,2 +1,3 @@ 01_fix-manpages.patch 02_disable-libtls-tests.patch +03_systemd-service.patch |