Skip to content

Instantly share code, notes, and snippets.

View hunterist's full-sized avatar

Phong Hunterist hunterist

View GitHub Profile
@hunterist
hunterist / .hubotrc
Created June 6, 2017 04:51
Hubot config for running as a service
#---------------- HUBOT CONFIG -----------------------------------
export HUBOT_JENKINS_URL="https://yourci.com/"
export HUBOT_JENKINS_AUTH="USERNAME@PASSWORD"
export HUBOT_CHATWORK_TOKEN="CHATWORKTOKEN"
export HUBOT_CHATWORK_ROOMS="43440191,61671457"
export HUBOT_CHATWORK_API_RATE="350"
export HUBOT_ADAPTER="chatwork"
@hunterist
hunterist / daemon-hubot.sh
Created June 6, 2017 04:11
Start/Stop hubot as a service
#!/bin/sh
HUBOT_ROOT="/home/ubuntu/yoyo"
HUBOT_HOME="$HUBOT_ROOT/node_modules/hubot"
DAEMON="$HUBOT_HOME/bin/hubot"
PIDFILE=$HUBOT_ROOT/hubot.pid
case "$1" in
start)
echo "Starting"
@hunterist
hunterist / Setup.md
Last active August 29, 2015 14:24 — forked from suvozy/Setup.md