Skip to content

Instantly share code, notes, and snippets.

@kuno
Created December 15, 2012 05:02
Show Gist options
  • Save kuno/4291449 to your computer and use it in GitHub Desktop.
Save kuno/4291449 to your computer and use it in GitHub Desktop.
wiredbot shell script
#!/usr/bin/env bash
# !!! KEEP THESE SECRET !!!
export PORT=9999
export HUBOT_XMPP_USERNAME="[email protected]"
export HUBOT_XMPP_PASSWORD=42
#export HUBOT_XMPP_ROOMS="[email protected]"
export HUBOT_XMPP_ROOMS="[email protected],[email protected]"
export HUBOT_XMPP_HOST="chat.wiredcraft.com"
export HUBOT_XMPP_PORT=5222
export HUBOT_XMPP_LEGACYSSL=1
#export HUBOT_XMPP_PREFERRED_SASL_MECHANISM=''
export HUBOT_AUTH_ADMIN="[email protected]"
exec sh ./bin/hubot --adapter xmpp --name wiredbot "$@"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment