Commit 592f6a16 authored by Florent Revest's avatar Florent Revest

mce: set a 2 seconds timeout to mce.service because the first run of mce...

mce: set a 2 seconds timeout to mce.service because the first run of mce always fails (why?) and it makes the boot last 3 minutes longer
parent 401dad53
From ad01f509d9787e933849d390f454b794169baa95 Mon Sep 17 00:00:00 2001
From: Florent Revest <revestflo@gmail.com>
Date: Wed, 4 Nov 2015 18:09:47 +0100
Subject: [PATCH] mce.service: use a 2 seconds timeout
---
systemd/mce.service | 1 +
1 file changed, 1 insertion(+)
diff --git a/systemd/mce.service b/systemd/mce.service
index e717c15..c724d9e 100644
--- a/systemd/mce.service
+++ b/systemd/mce.service
@@ -10,6 +10,7 @@ Conflicts=shutdown.target
[Service]
Type=notify
ExecStart=/usr/sbin/mce --systemd
+TimeoutSec=2
Restart=always
[Install]
--
2.6.2
...@@ -4,7 +4,8 @@ LICENSE = "LGPL-2.1+" ...@@ -4,7 +4,8 @@ LICENSE = "LGPL-2.1+"
LIC_FILES_CHKSUM = "file://COPYING;md5=4fbd65380cdd255951079008b364516c" LIC_FILES_CHKSUM = "file://COPYING;md5=4fbd65380cdd255951079008b364516c"
SRC_URI = "git://git.merproject.org/mer-core/mce.git;protocol=https \ SRC_URI = "git://git.merproject.org/mer-core/mce.git;protocol=https \
file://001-Fixes_build.patch" file://001-Fixes_build.patch \
file://0002-mce.service-use-a-2-seconds-timeout.patch"
SRCREV = "702a41228f7509f49eb3d70713fb4ed47ed06412" SRCREV = "702a41228f7509f49eb3d70713fb4ed47ed06412"
PR = "r1" PR = "r1"
PV = "+git${SRCREV}" PV = "+git${SRCREV}"
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment