rsyslog/rsyslog.service.in
Lennart Poettering 6e222ec9ef systemd: direct stdout/stderr of rsyslog to null
This allows systemd upstream to set stdout/stderr of all spawned
services by default to 'syslog'. In order to avoid log loops rsyslog
itself must be have its stdout/stderr connected to 'null' in that case,
however.
2011-07-02 12:54:39 +02:00

12 lines
231 B
SYSTEMD

[Unit]
Description=System Logging Service
[Service]
ExecStartPre=/bin/systemctl stop systemd-kmsg-syslogd.service
ExecStart=@sbindir@/rsyslogd -n -c5
Sockets=syslog.socket
StandardOutput=null
[Install]
WantedBy=multi-user.target