12 lines
297 B
Bash
12 lines
297 B
Bash
|
[[ -f .env ]] && source .env
|
||
|
export RESPOND_TO_DM=true
|
||
|
export RESPOND_TO_EDITED=true
|
||
|
export LISTEN_ON_ALL_PUBLIC=false
|
||
|
export TOOL="axiomchat"
|
||
|
|
||
|
if [[ $(pm2 pid abog) ]]; then
|
||
|
pm2 restart abog
|
||
|
else
|
||
|
pm2 start node_modules/.bin/coffee -n abog -- node_modules/.bin/hubot --name bog -a rocketchat
|
||
|
fi
|