summaryrefslogtreecommitdiffstats
path: root/src/core/mount.c
diff options
context:
space:
mode:
authorOleksii Shevchuk <alxchk@gmail.com>2013-11-04 17:47:43 +0100
committerLennart Poettering <lennart@poettering.net>2013-11-05 19:57:22 +0100
commit1f19a534ea84458670ec011f6d1ba96f76e3f783 (patch)
tree6edc40c4d9dc99f412e477d9e1af466e45cc5d93 /src/core/mount.c
parentbus: add new bus API call sd_bus_message_at_end() (diff)
downloadsystemd-1f19a534ea84458670ec011f6d1ba96f76e3f783.tar.xz
systemd-1f19a534ea84458670ec011f6d1ba96f76e3f783.zip
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.
Diffstat (limited to 'src/core/mount.c')
-rw-r--r--src/core/mount.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/core/mount.c b/src/core/mount.c
index 88563b34f6..0c15b99f94 100644
--- a/src/core/mount.c
+++ b/src/core/mount.c
@@ -131,7 +131,7 @@ static void mount_init(Unit *u) {
assert(u);
assert(u->load_state == UNIT_STUB);
- m->timeout_usec = DEFAULT_TIMEOUT_USEC;
+ m->timeout_usec = u->manager->default_timeout_start_usec;
m->directory_mode = 0755;
exec_context_init(&m->exec_context);