SHA256
1
0
forked from pool/mcelog
mcelog/mcelog.systemd
Marcus Meissner 326e49c3ae Accepting request 205189 from home:elvigia:branches:Base:System
- 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
2013-11-27 08:05:19 +00:00

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