From 300bc87a5c4b4e89ba68bdc42f18c29ffe59b4c8 Mon Sep 17 00:00:00 2001 From: bwarsaw Date: Wed, 25 Jul 2001 04:40:04 +0000 Subject: main(): John Read's suggestion to include messages about what mailmanctl is doing. --- bin/mailmanctl | 3 +++ 1 file changed, 3 insertions(+) (limited to 'bin/mailmanctl') 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 -- cgit v1.2.3-70-g09d2