diff options
author | Lennart Poettering <lennart@poettering.net> | 2010-05-21 23:41:54 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2010-05-21 23:41:54 +0200 |
commit | bc0f8771f23dc3952bf4b06301dc842ba625a0f2 (patch) | |
tree | 94654d913760d92660ffa0a6baf62681492bbbfb /src/unit.h | |
parent | c0120d992ce5ab004d9be5ff6ca15e5fe17f9884 (diff) |
unit: add simple only-by-dependency flag for units
Diffstat (limited to 'src/unit.h')
-rw-r--r-- | src/unit.h | 3 |
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; |