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.h11
1 files changed, 4 insertions, 7 deletions
diff --git a/src/core/unit.h b/src/core/unit.h
index 62257c403e..9491ef64f9 100644
--- a/src/core/unit.h
+++ b/src/core/unit.h
@@ -166,15 +166,12 @@ struct Unit {
/* Used during GC sweeps */
unsigned gc_marker;
- /* When deserializing, temporarily store the job type for this
- * unit here, if there was a job scheduled.
- * Only for deserializing from a legacy version. New style uses full
- * serialized jobs. */
- int deserialized_job; /* This is actually of type JobType */
-
/* Error code when we didn't manage to load the unit (negative) */
int load_error;
+ /* Make sure we never enter endless loops with the check unneeded logic, or the BindsTo= logic */
+ RateLimit auto_stop_ratelimit;
+
/* Cached unit file state and preset */
UnitFileState unit_file_state;
int unit_file_preset;
@@ -236,7 +233,7 @@ struct Unit {
bool cgroup_subtree_mask_valid:1;
/* Did we already invoke unit_coldplug() for this unit? */
- bool coldplugged;
+ bool coldplugged:1;
};
struct UnitStatusMessageFormats {