Change the folder structure.
This commit is contained in:
12
build/service/startup.sh
Normal file
12
build/service/startup.sh
Normal file
@ -0,0 +1,12 @@
|
||||
#!/bin/bash
|
||||
|
||||
# executable path
|
||||
DIR="$( cd "$( dirname "$0" )" && pwd )"
|
||||
EXE_PATH=$DIR/tank
|
||||
|
||||
if [ -f "$EXE_PATH" ]; then
|
||||
nohup $EXE_PATH >/dev/null 2>&1 &
|
||||
else
|
||||
echo 'Cannot find $EXE_PATH.'
|
||||
exit 1
|
||||
fi
|
Reference in New Issue
Block a user