Last active
March 16, 2016 16:06
-
-
Save jsidhu/d23aa79e97258ec47ce6 to your computer and use it in GitHub Desktop.
Supervisord config to use proxychains with hubot
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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