summaryrefslogtreecommitdiff
path: root/src/shared/install.h
diff options
context:
space:
mode:
authorJan Synacek <jsynacek@redhat.com>2014-11-07 21:21:05 +0100
committerLennart Poettering <lennart@poettering.net>2014-11-10 19:58:21 +0100
commitaedd4012f437a0b08c34f40a5bb97b6e615ac074 (patch)
tree0853b364e6bf6fd0348022235887e62af2d687ad /src/shared/install.h
parentf81e67f79fa856aa2ecffad4d014772ce981745c (diff)
shared/install: when unit contains only Also=, report 'indirect'
If a unit contains only Also=, with no Alias= or WantedBy=, it shouldn't be reported as static. New 'indirect' status shall be introduced. https://bugzilla.redhat.com/show_bug.cgi?id=864298
Diffstat (limited to 'src/shared/install.h')
-rw-r--r--src/shared/install.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/shared/install.h b/src/shared/install.h
index c0b4df69d5..357be0f92d 100644
--- a/src/shared/install.h
+++ b/src/shared/install.h
@@ -41,6 +41,7 @@ typedef enum UnitFileState {
UNIT_FILE_MASKED_RUNTIME,
UNIT_FILE_STATIC,
UNIT_FILE_DISABLED,
+ UNIT_FILE_INDIRECT,
UNIT_FILE_INVALID,
_UNIT_FILE_STATE_MAX,
_UNIT_FILE_STATE_INVALID = -1
@@ -80,6 +81,7 @@ typedef struct {
char **aliases;
char **wanted_by;
char **required_by;
+ char **also;
char *default_instance;
} InstallInfo;