summaryrefslogtreecommitdiffstats
path: root/src/shared/install.h
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2016-02-24 15:44:46 +0100
committerLennart Poettering <lennart@poettering.net>2016-04-12 13:43:29 +0200
commitf413930863ab3b98cb7bf9e761081b4e88a5d7d9 (patch)
treea4d28ddb420d31374f37b0624047be0a4c129674 /src/shared/install.h
parentcore: rework generator dir logic, move the dirs into LookupPaths structure (diff)
downloadsystemd-f413930863ab3b98cb7bf9e761081b4e88a5d7d9.tar.xz
systemd-f413930863ab3b98cb7bf9e761081b4e88a5d7d9.zip
core: add a new unit file state "generated"
Now that we store the generator directories in LookupPaths we can use this to intrdouce a new unit file state called "generated", for units in these directories. Fixes: #2348
Diffstat (limited to 'src/shared/install.h')
-rw-r--r--src/shared/install.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/shared/install.h b/src/shared/install.h
index 82b6d425eb..18aad65d50 100644
--- a/src/shared/install.h
+++ b/src/shared/install.h
@@ -54,6 +54,7 @@ enum UnitFileState {
UNIT_FILE_STATIC,
UNIT_FILE_DISABLED,
UNIT_FILE_INDIRECT,
+ UNIT_FILE_GENERATED,
UNIT_FILE_BAD,
_UNIT_FILE_STATE_MAX,
_UNIT_FILE_STATE_INVALID = -1