#!/bin/bash ENV_FILE=/tmp/one_env if [ -f $ENV_FILE ]; then . $ENV_FILE fi export HOME=/root DIR=$(dirname $(readlink -f $0)) ruby $DIR/onegate.rb $*