Add basic systemd unit files

Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
This commit is contained in:
Joachim Nilsson 2018-08-05 19:07:57 +02:00
parent aef7e07704
commit 9829309bc4
2 changed files with 27 additions and 0 deletions

13
klogd.service Normal file
View File

@ -0,0 +1,13 @@
[Unit]
Description=Kernel Logging Service
After=syslogd.service
[Service]
Type=forking
ExecStart=/sbin/klogd
PIDFile=/var/run/klogd.pid
StandardOutput=null
Restart=on-failure
[Install]
WantedBy=multi-user.target

14
syslogd.service Normal file
View File

@ -0,0 +1,14 @@
[Unit]
Description=System Logging Service
Requires=syslog.socket
[Service]
Type=forking
ExecStart=/sbin/syslogd
PIDFile=/var/run/syslogd.pid
StandardOutput=null
Restart=on-failure
[Install]
WantedBy=multi-user.target
Alias=syslog.service