You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
235 B
14 lines
235 B
#!/bin/bash
|
|
|
|
# executable path
|
|
DIR="$( cd "$( dirname "$0" )" && pwd )"
|
|
TANK_DIR=$(dirname $DIR)
|
|
EXE_PATH=$TANK_DIR/tank
|
|
|
|
|
|
if [ -f "$EXE_PATH" ]; then
|
|
nohup $EXE_PATH >/dev/null 2>&1 &
|
|
else
|
|
echo 'Cannot find $EXE_PATH.'
|
|
exit 1
|
|
fi
|
|
|