File: 03_systemd-service.patch

package info (click to toggle)
strongswan 5.9.8-5%2Bdeb12u2
  • links: PTS, VCS
  • area: main
  • in suites: bookworm-proposed-updates
  • size: 59,472 kB
  • sloc: ansic: 394,861; sh: 10,074; makefile: 6,319; sql: 2,830; javascript: 1,948; python: 822; xml: 608; perl: 586; cs: 522; lex: 485; yacc: 441; ruby: 398; ada: 114
file content (26 lines) | stat: -rw-r--r-- 856 bytes parent folder | download | duplicates (3)
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-starter/strongswan-starter.service.in | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/init/systemd-starter/strongswan-starter.service.in b/init/systemd-starter/strongswan-starter.service.in
index 6a06723..53b6ffc 100644
--- a/init/systemd-starter/strongswan-starter.service.in
+++ b/init/systemd-starter/strongswan-starter.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
 Restart=on-abnormal
 
 [Install]