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