Skip to content

Instantly share code, notes, and snippets.

@jsidhu
Last active March 16, 2016 16:06
Show Gist options
  • Save jsidhu/d23aa79e97258ec47ce6 to your computer and use it in GitHub Desktop.
Save jsidhu/d23aa79e97258ec47ce6 to your computer and use it in GitHub Desktop.
Supervisord config to use proxychains with hubot
# can we wired in to deploy/update/restart hubot via RESTFUL interface of supervisord
#
[program:deploy]
stdout_logfile=/var/log/supervisor/deploy-hubot-stdout.log
stderr_logfile=/var/log/supervisor/deploy-hubot-stderr.log
command=/opt/hubot/git_deploy.sh
autostart=false
[program:hubot]
stdout_logfile=/var/log/supervisor/hubot-hubot-stdout.log
stderr_logfile=/var/log/supervisor/hubot-hubot-stderr.log
# Proxy to get out to the internet
command=proxychains4 bin/hubot --name hubot --adapter slack
directory=/opt/hubot
user=hubot
autostart=true
autorestart=true
environment=HUBOT_DIR="/opt/hubot/",HUBOT="bin/hubot",ADAPTER="slack",HUBOT_USER="hubot",PORT="5555",HUBOT_SLACK_TOKEN="blahblahblah"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment