forked from pool/mcelog
d1c9d49d64
- mcelog.systemd: Preload the dmi-sysfs kernel module. When /dev/mem can't be read (which is the case when booting in Secure Mode), mcelog can use the dmi-sysfs interface instead, however for that the kernel module needs to be loaded first (bsc#1149186). OBS-URL: https://build.opensuse.org/request/show/730795 OBS-URL: https://build.opensuse.org/package/show/Base:System/mcelog?expand=0&rev=77
15 lines
363 B
Plaintext
15 lines
363 B
Plaintext
[Unit]
|
|
Description=Machine Check Exception Logging Daemon
|
|
ConditionVirtualization=false
|
|
ConditionPathExists=/dev/mcelog
|
|
|
|
[Service]
|
|
EnvironmentFile=-/etc/sysconfig/mcelog
|
|
ExecStartPre=/sbin/modprobe msr
|
|
ExecStartPre=/sbin/modprobe dmi-sysfs
|
|
ExecStart=/usr/sbin/mcelog --ignorenodev --daemon --foreground
|
|
StandardOutput=syslog
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|