forked from pool/mcelog
ac70b88530
- Add systemd unit. OBS-URL: https://build.opensuse.org/request/show/93371 OBS-URL: https://build.opensuse.org/package/show/Base:System/mcelog?expand=0&rev=20
15 lines
414 B
Plaintext
15 lines
414 B
Plaintext
[Unit]
|
|
Description=Machine Check Exception Logging Daemon
|
|
After=syslog.target
|
|
ConditionVirtualization=false
|
|
ConditionPathExists=/dev/mcelog
|
|
|
|
[Service]
|
|
EnvironmentFile=-/etc/sysconfig/mcelog
|
|
#warning: if this fails is due to a known kernel bug, fix that instead !
|
|
ExecStart=/usr/sbin/mcelog --ignorenodev --daemon --foreground --email $MCELOG_ADMIN_EMAIL
|
|
StandardOutput=syslog
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|