Now that I have an on-board status display I wanted the 'Bot to automatically start on boot. To make this happen you need a script located in /etc/init.d that follows certain conventions. My script is shown below and is based on this post.
Make the script executable
The above is pretty much the most basic of scripts for my purpose. Note that zzCommand.py is a short command line way to put commands that would normally come from the web interface into the 'Bot's execution queue. This causes the 'Bot to stop in a controlled fashion. My first version of this script used a killall python...not so eloquent!
Once the above script is written it can be executed as shown below and/or added to the list of scripts that will be started auto magically:
Start the program
Stop the program
Register script to be run at start-up
To register your script to be run at start-up and shutdown, run the following command: