diff options
author | Mike Yuan <me@yhndnzj.com> | 2023-05-16 21:53:24 +0800 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-05-16 21:53:24 +0800 |
commit | 0313c41068a362178190eac81f64b60223bb4c0c (patch) | |
tree | 859c0475b13cc7dac6edb15fcfce44286deee0ce /src/systemctl | |
parent | 3907b2563855f42562643fd26e9dec515d4ef928 (diff) | |
parent | b5b1351317db64de1f2c944ec153208ba8174079 (diff) | |
download | systemd-0313c41068a362178190eac81f64b60223bb4c0c.tar.gz |
Merge pull request #27638 from YHNdnzj/upheldby-unit-file
unit-file: support UpheldBy= in [Install] settings (adding Upholds= deps from .upholds/)
Diffstat (limited to 'src/systemctl')
-rw-r--r-- | src/systemctl/systemctl-enable.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/systemctl/systemctl-enable.c b/src/systemctl/systemctl-enable.c index 6d3709705e..940f54607f 100644 --- a/src/systemctl/systemctl-enable.c +++ b/src/systemctl/systemctl-enable.c @@ -248,9 +248,9 @@ int verb_enable(int argc, char *argv[], void *userdata) { } if (carries_install_info == 0 && !ignore_carries_install_info) - log_notice("The unit files have no installation config (WantedBy=, RequiredBy=, Also=,\n" - "Alias= settings in the [Install] section, and DefaultInstance= for template\n" - "units). This means they are not meant to be enabled or disabled using systemctl.\n" + log_notice("The unit files have no installation config (WantedBy=, RequiredBy=, UpheldBy=,\n" + "Also=, or Alias= settings in the [Install] section, and DefaultInstance= for\n" + "template units). This means they are not meant to be enabled or disabled using systemctl.\n" " \n" /* trick: the space is needed so that the line does not get stripped from output */ "Possible reasons for having this kind of units are:\n" "%1$s A unit may be statically enabled by being symlinked from another unit's\n" |