summaryrefslogtreecommitdiff
path: root/src/shared
diff options
context:
space:
mode:
authorMichal Koutný <mkoutny@suse.com>2017-04-05 14:11:12 +0200
committerMichal Koutný <mkoutny@suse.com>2017-04-25 18:00:36 +0200
commitd9732d78034cd01a75f2cda6ebaddb4c3a0929ea (patch)
treeb9c458e51ef3ec885e1044169b2839522d5d6c74 /src/shared
parent4195077ab4c823c385cdc3c868a56178f8d93723 (diff)
core/device: Use JobRunningTimeoutSec= for device units
Device job timeouts should respect possible device job dependencies so we set JobRunningTimeoutSec= by default.
Diffstat (limited to 'src/shared')
-rw-r--r--src/shared/generator.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/shared/generator.c b/src/shared/generator.c
index 5f6b1de811..19ec133772 100644
--- a/src/shared/generator.c
+++ b/src/shared/generator.c
@@ -188,7 +188,7 @@ int generator_write_timeouts(
return write_drop_in_format(dir, unit, 50, "device-timeout",
"# Automatically generated by %s\n\n"
- "[Unit]\nJobTimeoutSec=%s",
+ "[Unit]\nJobRunningTimeoutSec=%s",
program_invocation_short_name, timeout);
}