Add basic systemd unit files
Signed-off-by: Joachim Nilsson <troglobit@gmail.com>
This commit is contained in:
parent
aef7e07704
commit
9829309bc4
13
klogd.service
Normal file
13
klogd.service
Normal 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
14
syslogd.service
Normal 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
|
Loading…
x
Reference in New Issue
Block a user