#!/bin/sh BASEDIR=$(dirname $0) ruby $BASEDIR/main_interface_bot.rb $1 $2 > /dev/null 2>&1 & echo $! > $BASEDIR/.pid