diff options
author | Lennart Poettering <lennart@poettering.net> | 2010-04-13 18:39:37 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2010-04-13 18:39:37 +0200 |
commit | 90a13a44cbae440d973144706aec039c7dab2e38 (patch) | |
tree | 3eb378940139d9f26c2cce799b760e68529e9ded | |
parent | b8d3418f7bc209427e27d76d3442987b6738cd1b (diff) |
service: don't timeout special services
-rw-r--r-- | service.c | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -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; |