chiark / gitweb /
core: add NOP jobs, job type collapsing
[elogind.git] / src / core / unit.h
index 1b777bfaab066dbe5040036447413486378d87fb..c2bae0a45c677954724f3e0802faa114938747f8 100644 (file)
@@ -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 */