summaryrefslogtreecommitdiff
path: root/src/unit.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2010-07-17 04:09:28 +0200
committerLennart Poettering <lennart@poettering.net>2010-07-17 04:09:28 +0200
commitfaf919f1ebebdfc13f769bb6585e64e7ad4b301b (patch)
tree8fb54ae1edeffef63cf72fb40b278b57cb727e18 /src/unit.h
parent064f51fa29c1dfd7c0704feb969eb59119e57854 (diff)
job: timeout every job independently of the unit
Diffstat (limited to 'src/unit.h')
-rw-r--r--src/unit.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/unit.h b/src/unit.h
index 55fe0fa60e..cfad3ca53b 100644
--- a/src/unit.h
+++ b/src/unit.h
@@ -143,6 +143,7 @@ struct Meta {
Set *dependencies[_UNIT_DEPENDENCY_MAX];
char *description;
+
char *fragment_path; /* if loaded from a config file this is the primary path to it */
usec_t fragment_mtime;
@@ -150,6 +151,8 @@ struct Meta {
* the job for it */
Job *job;
+ usec_t job_timeout;
+
dual_timestamp inactive_exit_timestamp;
dual_timestamp active_enter_timestamp;
dual_timestamp active_exit_timestamp;