aboutsummaryrefslogtreecommitdiffstats
path: root/meta-networking/recipes-support/strongswan/files/0001-Remove-obsolete-setting-regarding-the-Standard-Outpu.patch
blob: 78adcf8130a7adf4befa4662fc69f1649794f666 (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
27
28
29
30
31
32
33
34
From 7b1e376d7d22244feab466e9889ba77561117357 Mon Sep 17 00:00:00 2001
From: Mingli Yu <mingli.yu@windriver.com>
Date: Wed, 23 Sep 2020 16:20:22 +0800
Subject: [PATCH] Remove obsolete setting regarding the Standard Output

The Standard output type "syslog" is obsolete, causing a warning since systemd
version 246 [1].

Please consider using "journal" or "journal+console"

[1] https://github.com/systemd/systemd/blob/master/NEWS#L202

Upstream-Status: Submitted [https://github.com/strongswan/strongswan/pull/181]

Signed-off-by: Mingli Yu <mingli.yu@windriver.com>
---
 init/systemd-starter/strongswan-starter.service.in | 1 -
 1 file changed, 1 deletion(-)

diff --git a/init/systemd-starter/strongswan-starter.service.in b/init/systemd-starter/strongswan-starter.service.in
index 474284a19..6a0672352 100644
--- a/init/systemd-starter/strongswan-starter.service.in
+++ b/init/systemd-starter/strongswan-starter.service.in
@@ -4,7 +4,6 @@ After=syslog.target network-online.target
 
 [Service]
 ExecStart=@SBINDIR@/@IPSEC_SCRIPT@ start --nofork
-StandardOutput=syslog
 Restart=on-abnormal
 
 [Install]
-- 
2.17.1