-
Make sure you installed Supybot.
-
These Upstart scripts assume you configured Supybot as:
- Running under supybot user.
- Have
/home/supbybot/running/
folder to contain data of all running instances (multiple bot). - This
running
folder is divided to many subfolders, each for a channel each bot joins. For example, you want an instance of Supybot to listen on #fossasia channel, you create/home/supbybot/running/fossasia
folder. Right in this folder, you can runningsupybot-wizard
command to setup the bot. The name of config file has to be the channel name. For example, fossasia.conf file for #fossasia channel.
-
Upstart scrips are installed in
/etc/init/
. -
Document to read more: http://supybook.fealdia.org/latest/, http://supybot.fr.cr/doc/use/index.html
- Run one bot:
start supybot CHANNEL=xxx
and there must be a bot config at /home/supybot/running/xxx/xxx.conf
.
- Run all bots:
start supybotall
- Stop all bots:
initctl emit supybot-stop-all
or
start supybotstop
Follow update at https://gist.github.com/hongquan/5218409