Hello,

The problem is that /lib/systemd/system/rsyslog.service is completely
missing the EnvironmentFile option.

Currently the Service section looks like this:

[Service]
Type=notify
ExecStart=/usr/sbin/rsyslogd -n
StandardOutput=null
Restart=on-failure

It should be something like this:

[Service]
Type=notify
EnvironmentFile=-/etc/default/rsyslog
ExecStart=/usr/sbin/rsyslogd -n $RSYSLOGD_OPTIONS
StandardOutput=null
Restart=on-failure

I don't know if the -n start-up parameter should be in /etc/default/rsyslog
or hard coded in the service file.

Also looks like ExecReload and ExecStop options are missing.

Regards,
Juha

Reply via email to