diff options
author | Lennart Poettering <lennart@poettering.net> | 2016-05-02 20:40:54 +0200 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2016-05-02 20:40:54 +0200 |
commit | 5c6c275e43bb5944c271976ef2f67070c54362ae (patch) | |
tree | 2a5c3eb3d200b355bd8c80ceaa2b51a78b864a90 /src/shared/install.h | |
parent | 8ad54a01825f962458cfac9e5a62e7268ac2fa05 (diff) | |
parent | 133e5b362f862ac9c9b1dd7b5de0b004cbb9af54 (diff) |
Merge pull request #3162 from keszybz/alias-refusal
Refuse Alias, DefaultInstance, templated units in install (as appropriate)
Diffstat (limited to 'src/shared/install.h')
-rw-r--r-- | src/shared/install.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/shared/install.h b/src/shared/install.h index 4ffc5a21f2..5812447c5b 100644 --- a/src/shared/install.h +++ b/src/shared/install.h @@ -138,6 +138,9 @@ static inline bool UNIT_FILE_INSTALL_INFO_HAS_ALSO(UnitFileInstallInfo *i) { return !strv_isempty(i->also); } +bool unit_type_may_alias(UnitType type) _const_; +bool unit_type_may_template(UnitType type) _const_; + int unit_file_enable( UnitFileScope scope, bool runtime, |