summaryrefslogtreecommitdiff
path: root/community/mcelog/mcelog.service
diff options
context:
space:
mode:
Diffstat (limited to 'community/mcelog/mcelog.service')
-rw-r--r--community/mcelog/mcelog.service11
1 files changed, 11 insertions, 0 deletions
diff --git a/community/mcelog/mcelog.service b/community/mcelog/mcelog.service
new file mode 100644
index 000000000..9d6c84f40
--- /dev/null
+++ b/community/mcelog/mcelog.service
@@ -0,0 +1,11 @@
+[Unit]
+Description=Machine Check Exception Logging Daemon
+After=syslog.target
+
+[Service]
+PIDFile=/run/mcelog.pid
+ExecStart=/usr/bin/mcelog --ignorenodev --daemon --foreground --pidfile /run/mcelog.pid
+StandardOutput=syslog
+
+[Install]
+WantedBy=multi-user.target