summaryrefslogtreecommitdiff
path: root/src/unit.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2010-05-21 23:41:54 +0200
committerLennart Poettering <lennart@poettering.net>2010-05-21 23:41:54 +0200
commitbc0f8771f23dc3952bf4b06301dc842ba625a0f2 (patch)
tree94654d913760d92660ffa0a6baf62681492bbbfb /src/unit.h
parentc0120d992ce5ab004d9be5ff6ca15e5fe17f9884 (diff)
unit: add simple only-by-dependency flag for units
Diffstat (limited to 'src/unit.h')
-rw-r--r--src/unit.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/unit.h b/src/unit.h
index 8f9d9e9860..d8be185c5c 100644
--- a/src/unit.h
+++ b/src/unit.h
@@ -136,6 +136,9 @@ struct Meta {
UnitLoadState load_state;
Unit *merged_into;
+ /* Refuse manual starting, allow starting only indirectly via dependency. */
+ bool only_by_dependency;
+
char *id; /* One name is special because we use it for identification. Points to an entry in the names set */
char *instance;