Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/bash
- tmux new -s hubot -d
- tmux send-keys -t hubot 'dockerip=$(docker exec -it redis1 hostname -I) && docker run -it --link redis1:redis -e ROCKETCHAT_URL=http://$url -e REDIS_URL="redis://$dockerip:6379/prefix" -e ROCKETCHAT_ROOM='' -e LISTEN_ON_ALL_PUBLIC=true -e ROCKETCHAT_USER=bot -e ROCKETCHAT_PASSWORD=$botpass -e ROCKETCHAT_AUTH=$adminpass -e BOT_NAME=bot -e EXTERNAL_SCRIPTS=<scripts> rocketchat/hubot-rocketchat | tee -a /home/centos/hubot.log' Enter
Add Comment
Please, Sign In to add comment