-
Notifications
You must be signed in to change notification settings - Fork 1
Starting Coderbot
To start coderbot I recommend starting a new screen (run screen bash
) and running sudo ~/coderbot/init.py
. If for some reason coderbot can’t start then the reason should be reported in the terminal. If coderbot is running successfully it should say “have a nice day ;)”.
A service or daemon is a program that runs in the background and often starts when the system boots. When we're happy that our system can run reliably this is how it will start itself when the robot is switched on. The coderbot daemon will not print errors in the terminal but some information is logged in ~/coderbot/logs/
.
The script that starts the daemon on boot is located at /etc/init.d/coderbot
and a copy of this script is in the repository at ~/coderbot/scripts/coderbot
. Search online for how to manage/start/stop daemon services.