Run syslogd and klogd in foreground under systemd

Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
This commit is contained in:
Joachim Nilsson 2018-08-05 19:18:40 +02:00
parent cda4c6a037
commit 2ceaab2a1d
2 changed files with 4 additions and 6 deletions

View File

@ -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

View File

@ -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