copbot/bots/redminebot/redminebot.sh~
2018-09-05 17:59:35 +02:00

12 lines
178 B
Bash
Executable File

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