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 After=syslogd.service
[Service] [Service]
Type=forking Type=simple
ExecStart=@SBINDIR@/klogd ExecStart=@SBINDIR@/klogd -n
PIDFile=/var/run/klogd.pid
StandardOutput=null StandardOutput=null
Restart=on-failure Restart=on-failure

View File

@ -3,9 +3,8 @@ Description=System Logging Service
Requires=syslog.socket Requires=syslog.socket
[Service] [Service]
Type=forking Type=simple
ExecStart=@SBINDIR@/syslogd ExecStart=@SBINDIR@/syslogd -n
PIDFile=/var/run/syslogd.pid
StandardOutput=null StandardOutput=null
Restart=on-failure Restart=on-failure