#!/bin/sh BINDIR="`dirname "$0"`" HOMEDIR="$BINDIR" cd "$BINDIR" nohup $BINDIR/redminebot.py >>"$HOMEDIR/redminebot.log" 2>&1 &