summaryrefslogtreecommitdiff
path: root/src/core/unit.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/core/unit.h')
-rw-r--r--src/core/unit.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/core/unit.h b/src/core/unit.h
index 1b777bfaab..c2bae0a45c 100644
--- a/src/core/unit.h
+++ b/src/core/unit.h
@@ -158,10 +158,12 @@ struct Unit {
char *fragment_path; /* if loaded from a config file this is the primary path to it */
usec_t fragment_mtime;
- /* If there is something to do with this unit, then this is
- * the job for it */
+ /* If there is something to do with this unit, then this is the installed job for it */
Job *job;
+ /* JOB_NOP jobs are special and can be installed without disturbing the real job. */
+ Job *nop_job;
+
usec_t job_timeout;
/* References to this */