From d450dfd2bd0394e95adfa84624c4bb00b10ad2af Mon Sep 17 00:00:00 2001 From: Oliver Gorwits Date: Sun, 10 Aug 2014 19:25:21 +0100 Subject: [PATCH] better status --- Netdisco/lib/App/Netdisco/Daemon/Worker/Manager.pm | 2 +- Netdisco/lib/App/Netdisco/Daemon/Worker/Scheduler.pm | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/Netdisco/lib/App/Netdisco/Daemon/Worker/Manager.pm b/Netdisco/lib/App/Netdisco/Daemon/Worker/Manager.pm index 80ea1fd4..361d976e 100644 --- a/Netdisco/lib/App/Netdisco/Daemon/Worker/Manager.pm +++ b/Netdisco/lib/App/Netdisco/Daemon/Worker/Manager.pm @@ -36,7 +36,7 @@ sub worker_body { my $wid = $self->wid; if (setting('workers')->{'no_manager'}) { - prctl sprintf 'netdisco-daemon: worker #%s manager: shutdown', $wid; + prctl sprintf 'netdisco-daemon: worker #%s manager: inactive', $wid; return debug "mgr ($wid): no need for manager... quitting" } diff --git a/Netdisco/lib/App/Netdisco/Daemon/Worker/Scheduler.pm b/Netdisco/lib/App/Netdisco/Daemon/Worker/Scheduler.pm index cd71b55e..a622fdbf 100644 --- a/Netdisco/lib/App/Netdisco/Daemon/Worker/Scheduler.pm +++ b/Netdisco/lib/App/Netdisco/Daemon/Worker/Scheduler.pm @@ -39,7 +39,7 @@ sub worker_body { my $wid = $self->wid; unless (setting('schedule')) { - prctl sprintf 'netdisco-daemon: worker #%s scheduler: shutdown', $wid; + prctl sprintf 'netdisco-daemon: worker #%s scheduler: inactive', $wid; return debug "sch ($wid): no need for scheduler... quitting" }