aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLennart Poettering <lennart@poettering.net>2016-02-24 17:18:42 +0100
committerLennart Poettering <lennart@poettering.net>2016-04-12 13:43:30 +0200
commita0f84a104c537bb3143212796cb9d8a1b61d8b3e (patch)
tree80e57196e45b73a0b3cb703d365cc3b307f6a2db /src/shared/path-lookup.h
parentcore: when enabling a generated unit file, return a clean error (diff)
downloadsystemd-a0f84a104c537bb3143212796cb9d8a1b61d8b3e.tar.gz
systemd-a0f84a104c537bb3143212796cb9d8a1b61d8b3e.tar.bz2
systemd-a0f84a104c537bb3143212796cb9d8a1b61d8b3e.zip
core: add configuration directories to LookupPaths
Let's add a seperate fields for the directories where we place runtime and persistent configuration, so that we can use this in install.c (to be added in a later commit), and we store path information in the same place everywhere.
Diffstat (limited to 'src/shared/path-lookup.h')
-rw-r--r--src/shared/path-lookup.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/shared/path-lookup.h b/src/shared/path-lookup.h
index 1e3bce21a..64c8035c2 100644
--- a/src/shared/path-lookup.h
+++ b/src/shared/path-lookup.h
@@ -29,6 +29,12 @@ typedef enum ManagerRunningAs ManagerRunningAs;
struct LookupPaths {
char **search_path;
+
+ /* Where we shall create or remove our installation symlinks, aka "configuration". */
+ char *persistent_config;
+ char *runtime_config;
+
+ /* Where to place generated unit files */
char *generator;
char *generator_early;
char *generator_late;