Add the compress logic.

This commit is contained in:
Zic
2017-12-23 23:57:17 +08:00
parent 6e348897c0
commit ecd522a957
3 changed files with 35 additions and 3 deletions

12
build/bin/startup.sh Normal file
View File

@ -0,0 +1,12 @@
#!/bin/bash
# executable path
DIR="$( cd "$( dirname "$0" )" && pwd )"
EXE_PATH=$GOPATH/bin/tank
if [ -f "$EXE_PATH" ]; then
nohup $EXE_PATH >/dev/null 2>&1 &
else
echo 'Cannot find $EXE_PATH.'
exit 1
fi