chiark / gitweb /
job: timeout every job independently of the unit
[elogind.git] / src / unit.h
index 55fe0fa60ec8818ce53fd5e964c3c95bf98e0202..cfad3ca53ba268883ffa3176c81c0cfea52dd13a 100644 (file)
@@ -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;