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.
laforge/swu
Mingli Yu 2 years ago committed by Tobias Brunner
parent 040608a48d
commit a6cd662eed
  1. 1
      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]

Loading…
Cancel
Save