summaryrefslogtreecommitdiff
path: root/bin/mailmanctl
diff options
context:
space:
mode:
authorbwarsaw2001-07-25 04:40:04 +0000
committerbwarsaw2001-07-25 04:40:04 +0000
commit300bc87a5c4b4e89ba68bdc42f18c29ffe59b4c8 (patch)
tree22e94842b0b8b4535043e9ba9e945366b8ac0fa6 /bin/mailmanctl
parent080797682dccf42b91916ba5ff8ba8b06909092e (diff)
downloadmailman-300bc87a5c4b4e89ba68bdc42f18c29ffe59b4c8.tar.gz
mailman-300bc87a5c4b4e89ba68bdc42f18c29ffe59b4c8.tar.zst
mailman-300bc87a5c4b4e89ba68bdc42f18c29ffe59b4c8.zip
main(): John Read's suggestion to include messages about what
mailmanctl is doing.
Diffstat (limited to 'bin/mailmanctl')
-rw-r--r--bin/mailmanctl3
1 files changed, 3 insertions, 0 deletions
diff --git a/bin/mailmanctl b/bin/mailmanctl
index 1c081b1d5..1b2f810b8 100644
--- a/bin/mailmanctl
+++ b/bin/mailmanctl
@@ -164,11 +164,13 @@ def main():
# Sent the master qrunner process a SIGINT, which is equivalent to
# giving cron/qrunner a ctrl-c or KeyboardInterrupt. This will
# effectively shut everything down.
+ print _("Shutting down Mailman's master qrunner.")
kill_subrunners(signal.SIGINT)
elif command == 'restart':
# Sent the master qrunner process a SIGHUP. This will cause the
# master qrunner to kill and restart all the worker qrunners, and to
# close and re-open its log files.
+ print _("Restarting Mailman's master qrunner.")
kill_subrunners(signal.SIGHUP)
else:
# Must be `start'
@@ -176,6 +178,7 @@ def main():
# Daemon process startup according to Stevens, Advanced Programming in
# the UNIX Environment, Chapter 13.
if os.fork():
+ print _("Starting Mailman's master qrunner.")
# parent
sys.exit(0)
# child