From 2ceaab2a1df851788d515639634f1b451e3bb438 Mon Sep 17 00:00:00 2001 From: Joachim Nilsson Date: Sun, 5 Aug 2018 19:18:40 +0200 Subject: [PATCH] Run syslogd and klogd in foreground under systemd Signed-off-by: Joachim Nilsson --- klogd.service.in | 5 ++--- syslogd.service.in | 5 ++--- 2 files changed, 4 insertions(+), 6 deletions(-) diff --git a/klogd.service.in b/klogd.service.in index 8d1dd38..92ea940 100644 --- a/klogd.service.in +++ b/klogd.service.in @@ -3,9 +3,8 @@ Description=Kernel Logging Service After=syslogd.service [Service] -Type=forking -ExecStart=@SBINDIR@/klogd -PIDFile=/var/run/klogd.pid +Type=simple +ExecStart=@SBINDIR@/klogd -n StandardOutput=null Restart=on-failure diff --git a/syslogd.service.in b/syslogd.service.in index e6e96c3..2544c48 100644 --- a/syslogd.service.in +++ b/syslogd.service.in @@ -3,9 +3,8 @@ Description=System Logging Service Requires=syslog.socket [Service] -Type=forking -ExecStart=@SBINDIR@/syslogd -PIDFile=/var/run/syslogd.pid +Type=simple +ExecStart=@SBINDIR@/syslogd -n StandardOutput=null Restart=on-failure