Guest User

Untitled

a guest
Nov 29th, 2017
123
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.46 KB | None | 0 0
  1. #!/bin/bash
  2. tmux new -s hubot -d
  3. 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