summaryrefslogtreecommitdiff
path: root/debian/patches/03_systemd-service.patch
blob: 6609542c8b1d58ac99f958d50e307dbb268047c4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
--- a/init/systemd/strongswan.service.in
+++ b/init/systemd/strongswan.service.in
@@ -1,10 +1,12 @@
 [Unit]
 Description=strongSwan IPsec IKEv1/IKEv2 daemon using ipsec.conf
-After=syslog.target
+After=network.target
 
 [Service]
 ExecStart=@SBINDIR@/@IPSEC_SCRIPT@ start --nofork
+ExecReload=@SBINDIR@/@IPSEC_SCRIPT@ reload
 StandardOutput=syslog
 
 [Install]
 WantedBy=multi-user.target
+Alias=ipsec.service