mirror of
https://github.com/rsyslog/rsyslog.git
synced 2025-12-21 09:00:41 +01:00
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.
12 lines
231 B
SYSTEMD
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
|