copbot/bots/redminebot/redminebot.sh~

12 lines
178 B
Bash
Raw Normal View History

2018-09-05 15:38:58 +02:00
#!/bin/sh
BINDIR="`dirname "$0"`"
HOMEDIR="$BINDIR"
echo "BINDIR=$BINDIR"
echo "HOMEDIR=$HOMEDIR"
cd "$BINDIR"
nohup $BINDIR/redminebot.py >>"$HOMEDIR/redminebot.log" 2>&1 &