]> git.ipfire.org Git - people/ms/strongswan.git/commitdiff
init: Remove obsolete StandardOutput setting from legacy systemd unit
authorMingli Yu <mingli.yu@windriver.com>
Wed, 23 Sep 2020 08:20:22 +0000 (16:20 +0800)
committerTobias Brunner <tobias@strongswan.org>
Wed, 30 Sep 2020 10:51:08 +0000 (12:51 +0200)
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

index 474284a198d22f18d8598874be178c0fb4962dad..6a0672352d2a3b6b29ae5f16b0af7ae157b7df7a 100644 (file)
@@ -4,7 +4,6 @@ After=syslog.target network-online.target
 
 [Service]
 ExecStart=@SBINDIR@/@IPSEC_SCRIPT@ start --nofork
-StandardOutput=syslog
 Restart=on-abnormal
 
 [Install]