diff options
author | Anita Zhang <the.anitazha@gmail.com> | 2019-11-04 18:29:55 -0800 |
---|---|---|
committer | Zbigniew Jędrzejewski-Szmek <zbyszek@in.waw.pl> | 2019-11-07 08:34:53 +0100 |
commit | 3e1db806b0c18fd6138886ce67fac2655f09caef (patch) | |
tree | 0591ac7ab4d6261cb2690fe8b4aa17333442180d /src/basic/unit-name.h | |
parent | 8069017a0f5845ea3e6987e29f98546cdd34b24e (diff) | |
download | systemd-3e1db806b0c18fd6138886ce67fac2655f09caef.tar.gz |
core: change top-level drop-in from -.service.d to service.d
Discussed in #13743, the -.service semantic conflicts with the
existing root mount and slice names, making this feature not
uniformly extensible to all types. Change the name to be
<type>.d instead.
Updating to this format also extends the top-level dropin to
unit types.
Diffstat (limited to 'src/basic/unit-name.h')
-rw-r--r-- | src/basic/unit-name.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/basic/unit-name.h b/src/basic/unit-name.h index 4a6f64cc1c..15ce4e2495 100644 --- a/src/basic/unit-name.h +++ b/src/basic/unit-name.h @@ -58,8 +58,6 @@ static inline int unit_name_mangle(const char *name, UnitNameMangle flags, char return unit_name_mangle_with_suffix(name, NULL, flags, ".service", ret); } -bool service_unit_name_is_valid(const char *name); - int slice_build_parent_slice(const char *slice, char **ret); int slice_build_subslice(const char *slice, const char *name, char **subslice); bool slice_name_is_valid(const char *name); |