blob: 3941e6490735e576d4988d2832ddbd2ed0d72f9e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
From: Romain Francoise <rfrancoise@debian.org>
Date: Wed, 2 Jan 2019 11:37:27 +0100
Subject: Tune the ipsec systemd service file
- add a reload argument
- don't wait on syslog
---
init/systemd/strongswan.service.in | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/init/systemd/strongswan.service.in b/init/systemd/strongswan.service.in
index 474284a..8060d1e 100644
--- a/init/systemd/strongswan.service.in
+++ b/init/systemd/strongswan.service.in
@@ -1,9 +1,10 @@
[Unit]
Description=strongSwan IPsec IKEv1/IKEv2 daemon using ipsec.conf
-After=syslog.target network-online.target
+After=network-online.target
[Service]
ExecStart=@SBINDIR@/@IPSEC_SCRIPT@ start --nofork
+ExecReload=@SBINDIR@/@IPSEC_SCRIPT@ reload
StandardOutput=syslog
Restart=on-abnormal
|