From: Mingli Yu Date: Wed, 23 Sep 2020 08:20:22 +0000 (+0800) Subject: init: Remove obsolete StandardOutput setting from legacy systemd unit X-Git-Tag: 5.9.1dr1~9 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=a6cd662eed3bdb12238c33fa01823806dcec1888;p=thirdparty%2Fstrongswan.git 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. --- diff --git a/init/systemd-starter/strongswan-starter.service.in b/init/systemd-starter/strongswan-starter.service.in index 474284a198..6a0672352d 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]