diff options
author | Anita Zhang <the.anitazha@gmail.com> | 2019-10-04 16:03:04 -0700 |
---|---|---|
committer | Anita Zhang <the.anitazha@gmail.com> | 2019-10-07 12:02:12 -0700 |
commit | e23d911664b4fd86eb2c24b64233cb9f23cffdd1 (patch) | |
tree | 8ab06f0dd7a626ed1ca9603240c37a9ca2e9cf5f /src/basic/special.h | |
parent | 0490b44031f0406ad053e150349666605b22ab15 (diff) | |
download | systemd-e23d911664b4fd86eb2c24b64233cb9f23cffdd1.tar.gz |
core: disallow using '-.service' as a service name
-.service.d will become a special top level drop in so don't let it be a
usable service name (otherwise the interaction gets complicated).
Diffstat (limited to 'src/basic/special.h')
-rw-r--r-- | src/basic/special.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/basic/special.h b/src/basic/special.h index add1c1d507..6475501078 100644 --- a/src/basic/special.h +++ b/src/basic/special.h @@ -105,3 +105,7 @@ /* The root directory. */ #define SPECIAL_ROOT_MOUNT "-.mount" + +/* Used to apply settings to all services through drop-ins. + * Should not exist as an actual service. */ +#define SPECIAL_ROOT_SERVICE "-.service" |