From: Lennart Poettering Date: Tue, 13 Apr 2010 16:39:37 +0000 (+0200) Subject: service: don't timeout special services X-Git-Tag: 0.git+20100605+dfd8ee-1~129 X-Git-Url: https://err.no/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=90a13a44cbae440d973144706aec039c7dab2e38;p=systemd service: don't timeout special services --- diff --git a/service.c b/service.c index ddf03bbf..86406e80 100644 --- a/service.c +++ b/service.c @@ -623,6 +623,10 @@ static int service_load_sysv_path(Service *s, const char *path) { /* Special setting for all SysV services */ s->valid_no_process = true; + /* Don't timeout special services during boot (like fsck) */ + if (!chars_intersect("12345", s->sysv_runlevels)) + s->timeout_usec = -1; + u->meta.load_state = UNIT_LOADED; r = 0;