diff options
author | Lennart Poettering <lennart@poettering.net> | 2010-07-17 04:09:28 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2010-07-17 04:09:28 +0200 |
commit | faf919f1ebebdfc13f769bb6585e64e7ad4b301b (patch) | |
tree | 8fb54ae1edeffef63cf72fb40b278b57cb727e18 /src/load-fragment.c | |
parent | 064f51fa29c1dfd7c0704feb969eb59119e57854 (diff) |
job: timeout every job independently of the unit
Diffstat (limited to 'src/load-fragment.c')
-rw-r--r-- | src/load-fragment.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/load-fragment.c b/src/load-fragment.c index a2974cbead..50008101a1 100644 --- a/src/load-fragment.c +++ b/src/load-fragment.c @@ -1565,6 +1565,7 @@ static int load_from_path(Unit *u, const char *path) { { "OnlyByDependency", config_parse_bool, &u->meta.only_by_dependency, "Unit" }, { "DefaultDependencies", config_parse_bool, &u->meta.default_dependencies, "Unit" }, { "IgnoreDependencyFailure",config_parse_bool, &u->meta.ignore_dependency_failure, "Unit" }, + { "JobTimeoutSec", config_parse_usec, &u->meta.job_timeout, "Unit" }, { "PIDFile", config_parse_path, &u->service.pid_file, "Service" }, { "ExecStartPre", config_parse_exec, u->service.exec_command+SERVICE_EXEC_START_PRE, "Service" }, |