summaryrefslogtreecommitdiff
path: root/debian/patches/03_systemd-service.patch
blob: bcf581295c4a42dbf4472fabb77452eeb7e2722a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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