Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

executable file 36 lines (28 sloc) 0.884 kb
#!/usr/bin/env sh
# Set Environment Variables
export HUBOT_IRC_NICK=my_stoopid_bot
export HUBOT_IRC_SERVER=irc.freenode.net
export HUBOT_IRC_ROOMS="#my_stoopid_bots_lair"
# Using SSL?
#export HUBOT_IRC_PORT=6697
#export HUBOT_IRC_USESSL=true
#export HUBOT_IRC_SERVER_FAKE_SSL=true
# Server password?
#export HUBOT_IRC_PASSWORD=password
# Don't let hubot flood the room.
export HUBOT_IRC_UNFLOOD=true
# Output environment variables
echo HUBOT_IRC_NICK=$HUBOT_IRC_NICK
echo HUBOT_IRC_SERVER=$HUBOT_IRC_SERVER
echo HUBOT_IRC_ROOMS=$HUBOT_IRC_ROOMS
#echo HUBOT_IRC_PORT=$HUBOT_IRC_PORT
#echo HUBOT_IRC_USESSL=$HUBOT_IRC_USESSL
#echo HUBOT_IRC_SERVER_FAKE_SSL=$HUBOT_IRC_SERVER_FAKE_SSL
#echo HUBOT_IRC_PASSWORD=$HUBOT_IRC_PASSWORD
# Start the redis brain
echo ""
echo "Starting Redis Server"
/usr/local/bin/redis-server > /dev/null &
echo ""
echo "Starting bot"
./bin/hubot -a irc
Jump to Line
Something went wrong with that request. Please try again.