From 6e222ec9ef8a4575d7113fed957dd79191b8e61b Mon Sep 17 00:00:00 2001 From: Lennart Poettering Date: Sat, 2 Jul 2011 00:08:07 +0200 Subject: 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. --- rsyslog.service.in | 1 + 1 file changed, 1 insertion(+) (limited to 'rsyslog.service.in') diff --git a/rsyslog.service.in b/rsyslog.service.in index 898354d5..c03c9004 100644 --- a/rsyslog.service.in +++ b/rsyslog.service.in @@ -5,6 +5,7 @@ Description=System Logging Service ExecStartPre=/bin/systemctl stop systemd-kmsg-syslogd.service ExecStart=@sbindir@/rsyslogd -n -c5 Sockets=syslog.socket +StandardOutput=null [Install] WantedBy=multi-user.target -- cgit