1
0
mirror of https://github.com/systemd/systemd.git synced 2024-10-28 03:25:31 +03:00

service: don't timeout special services

This commit is contained in:
Lennart Poettering 2010-04-13 18:39:37 +02:00
parent b8d3418f7b
commit 90a13a44cb

View File

@ -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;