From a6cd662eed3bdb12238c33fa01823806dcec1888 Mon Sep 17 00:00:00 2001 From: Mingli Yu Date: Wed, 23 Sep 2020 16:20:22 +0800 Subject: [PATCH] init: Remove obsolete StandardOutput setting from legacy systemd unit The standard output value "syslog" was deprecated for a while and did fall back to "journal". It causes a warning since systemd version 246 [1]. By removing the setting it will default to DefaultStandardOutput, which defaults to "journal". [1] https://github.com/systemd/systemd/blob/master/NEWS#L202 Closes strongswan/strongswan#181. --- 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]