Finish the new pack folder things.
This commit is contained in:
@ -1,7 +1,8 @@
|
||||
#!/bin/bash
|
||||
|
||||
DIR="$( cd "$( dirname "$0" )" && pwd )"
|
||||
EXE_PATH=$DIR/tank
|
||||
TANK_DIR=$(dirname $DIR)
|
||||
EXE_PATH=$TANK_DIR/tank
|
||||
|
||||
EDASPID=`ps -ef | grep "$EXE_PATH"|grep -v grep |head -n 1 | awk '{print $2}'`
|
||||
if [ -z $EDASPID ];
|
||||
|
@ -2,7 +2,9 @@
|
||||
|
||||
# executable path
|
||||
DIR="$( cd "$( dirname "$0" )" && pwd )"
|
||||
EXE_PATH=$DIR/tank
|
||||
TANK_DIR=$(dirname $DIR)
|
||||
EXE_PATH=$TANK_DIR/tank
|
||||
|
||||
|
||||
if [ -f "$EXE_PATH" ]; then
|
||||
nohup $EXE_PATH >/dev/null 2>&1 &
|
||||
|
Reference in New Issue
Block a user