forked from pool/mcelog
Marcus Meissner
326e49c3ae
- Cleanup spec file - activate mcelog service via udev+systemd combo, if the kernel registers a /dev/mcelog device the service will be automatically started. - drop sysvinit scripts, add appropiate %pre %post invocations of the needed systemd macros. OBS-URL: https://build.opensuse.org/request/show/205189 OBS-URL: https://build.opensuse.org/package/show/Base:System/mcelog?expand=0&rev=31
13 lines
334 B
Plaintext
13 lines
334 B
Plaintext
[Unit]
|
|
Description=Machine Check Exception Logging Daemon
|
|
ConditionVirtualization=false
|
|
|
|
[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
|
|
StandardOutput=syslog
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|