chiark / gitweb /
implement recursive_stop/stop_when_unneeded unit flags
[elogind.git] / unit.h
diff --git a/unit.h b/unit.h
index 2433cc7d7cf7e1ca6afcf436d63e898a6e2f358c..c12ce0b482d784542eaf5a1da3ca4af448a64b0d 100644 (file)
--- a/unit.h
+++ b/unit.h
@@ -111,6 +111,12 @@ struct Meta {
 
         bool in_load_queue:1;
 
+        /* If we go down, pull down everything that depends on us, too */
+        bool recursive_stop;
+
+        /* Garbage collect us we nobody wants or requires us anymore */
+        bool stop_when_unneeded;
+
         usec_t active_enter_timestamp;
         usec_t active_exit_timestamp;