Skip to content

Instantly share code, notes, and snippets.

@damaya
Created March 10, 2017 19:23
Show Gist options
  • Select an option

  • Save damaya/3e8308dac1bdb4c9f778f0d66c8085ce to your computer and use it in GitHub Desktop.

Select an option

Save damaya/3e8308dac1bdb4c9f778f0d66c8085ce to your computer and use it in GitHub Desktop.
Hubot supervisor
[program:hubot]
command=/usr/bin/coffee node_modules/.bin/hubot --name ozux --adapter slack
directory=/usr/local/bot/hubot.ozux-bot
stdout_logfile=/var/log/%(program_name)s-stout.log
stderr_logfile=/var/log/%(program_name)s-stderr.log
stdout_logfile_backups=10
stderr_logfile_backups=10
user=ubuntu
startsecs=10
autorestart=true
; Add any environment vars needed below
environment =
HUBOT_SLACK_TOKEN="********************"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment