1. Marc-Alexandre Chan
  2. DailyPromptBot


Marc-Alexandre Chan  committed b10cd31

Revised README: add stopping instructions, warning on unclean exit on Windows

  • Participants
  • Parent commits 43475c2
  • Branches dev-minibot
  • Tags 0.7.0b

Comments (0)

Files changed (1)

File minibot/README

View file
 application may be safely stopped by typing Ctrl+C into the command-line or
 terminal window on both UNIX-like and Windows systems. It is possible to use
 pythonw.exe instead of python.exe to avoid spawning a command line window, but
-no method for stopping the process is provided.
+no method for stopping the process is provided (aside killing the process via
+`taskkill` or the Task Manager).
+== Stopping ==
+To stop a bot running as a daemon (minibotd.py), simply call `minibotd.py stop`.
+To stop a bot on UNIX running normally (minibot.py), you can issue an INT signal
+(Ctrl+C), HUP (close the terminal), or signal 15 (non-forced kill).
+On Windows, it is strongly recommended that you _only_ exit the bot using
+Ctrl+C. Note that `taskkill` (without `/f`) and closing the console window do
+NOT shut down the bot gracefully (I haven't figured out how to intercept those
 == Dependencies ==
 - Python 2.6 or 2.7 (recent older versions may work, but no guarantees;