From 869e64b12767be3ef5b1e3628f337a9e116e2bbb Mon Sep 17 00:00:00 2001 From: root Date: Sat, 27 Oct 2012 01:51:21 -0700 Subject: Sat Oct 27 01:51:01 PDT 2012 --- community/mcelog/mcelog.service | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) (limited to 'community/mcelog/mcelog.service') diff --git a/community/mcelog/mcelog.service b/community/mcelog/mcelog.service index 62d8cbed0..c689bee77 100644 --- a/community/mcelog/mcelog.service +++ b/community/mcelog/mcelog.service @@ -2,15 +2,9 @@ Description=Machine Check Exception Logging Daemon After=syslog.target -# FIXME - due to upstream kernel bug always start the mcelog process -# twice using the following ExecStartPre hack. This needs fixing. -# There is a bug filed against systemd for the ExecStartPre bit -# since it is not possible to specify that the ExecStarPre bit -# is allowed and expected to fail without aborting the daemon. - [Service] -ExecStartPre=/etc/mcelog/mcelog.setup -ExecStart=/usr/sbin/mcelog --ignorenodev --daemon --foreground +PIDFile=/var/run/mcelog.pid +ExecStart=/usr/sbin/mcelog --ignorenodev --daemon --foreground --pidfile /var/run/mcelog.pid StandardOutput=syslog [Install] -- cgit v1.2.3-54-g00ecf