summaryrefslogtreecommitdiffstats
path: root/linhes/rsyslog/rsyslog.service
diff options
context:
space:
mode:
Diffstat (limited to 'linhes/rsyslog/rsyslog.service')
-rw-r--r--linhes/rsyslog/rsyslog.service16
1 files changed, 16 insertions, 0 deletions
diff --git a/linhes/rsyslog/rsyslog.service b/linhes/rsyslog/rsyslog.service
new file mode 100644
index 0000000..0f3301e
--- /dev/null
+++ b/linhes/rsyslog/rsyslog.service
@@ -0,0 +1,16 @@
+[Unit]
+Description=System Logging Service
+Requires=syslog.socket
+Documentation=man:rsyslogd(8)
+Documentation=http://www.rsyslog.com/doc/
+
+[Service]
+Type=notify
+PIDFile=/run/rsyslogd.pid
+ExecStart=/usr/bin/rsyslogd -n -i /run/rsyslogd.pid
+StandardOutput=null
+Restart=on-failure
+
+[Install]
+WantedBy=multi-user.target
+Alias=syslog.service