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.
This commit is contained in:
Mingli Yu 2020-09-23 16:20:22 +08:00 committed by Tobias Brunner
parent 040608a48d
commit a6cd662eed
1 changed files with 0 additions and 1 deletions

View File

@ -4,7 +4,6 @@ After=syslog.target network-online.target
[Service]
ExecStart=@SBINDIR@/@IPSEC_SCRIPT@ start --nofork
StandardOutput=syslog
Restart=on-abnormal
[Install]