From 1f19a534ea84458670ec011f6d1ba96f76e3f783 Mon Sep 17 00:00:00 2001 From: Oleksii Shevchuk Date: Mon, 4 Nov 2013 18:47:43 +0200 Subject: Configurable Timeouts/Restarts default values https://bugs.freedesktop.org/show_bug.cgi?id=71132 Patch adds DefaultTimeoutStartSec, DefaultTimeoutStopSec, DefaultRestartSec configuration options to manager configuration file. --- src/core/scope.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/core/scope.c') diff --git a/src/core/scope.c b/src/core/scope.c index 50e5dbacb4..41da3b9378 100644 --- a/src/core/scope.c +++ b/src/core/scope.c @@ -46,7 +46,7 @@ static void scope_init(Unit *u) { assert(u); assert(u->load_state == UNIT_STUB); - s->timeout_stop_usec = DEFAULT_TIMEOUT_USEC; + s->timeout_stop_usec = u->manager->default_timeout_stop_usec; watch_init(&s->timer_watch); -- cgit v1.2.3-54-g00ecf