summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2023-10-20 23:18:58 -0500
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2023-10-20 23:18:58 -0500
commit0551b2302af5e7454ae403a796842bfd77ebe7bf (patch)
tree5836f9709d7976715e575c0417a0675cbac8f253
parent539a05b85867f7427e8066becafeb2f98ce82aa5 (diff)
downloadhorizon-0551b2302af5e7454ae403a796842bfd77ebe7bf.tar.gz
horizon-0551b2302af5e7454ae403a796842bfd77ebe7bf.tar.bz2
horizon-0551b2302af5e7454ae403a796842bfd77ebe7bf.tar.xz
horizon-0551b2302af5e7454ae403a796842bfd77ebe7bf.zip
hscript: Output dest runlevel in 'svcenable' log
-rw-r--r--hscript/meta.cc3
1 files changed, 2 insertions, 1 deletions
diff --git a/hscript/meta.cc b/hscript/meta.cc
index a12b874..abf0792 100644
--- a/hscript/meta.cc
+++ b/hscript/meta.cc
@@ -656,7 +656,8 @@ bool SvcEnable::execute() const {
"/etc/runlevels/" + _runlevel;
const std::string target = target_rl + "/" + _svc;
const std::string initd = "/etc/init.d/" + _svc;
- output_info(pos, "svcenable: enabling service " + _svc);
+ output_info(pos, "svcenable: enabling service " + _svc +
+ " in runlevel '" + _runlevel + "'");
if(script->options().test(Simulate)) {
std::cout << "mkdir -p " << target_rl << std::endl;