This commit is contained in:
aozhiwei 2020-06-10 09:53:31 +08:00
parent d844485ae8
commit 5b94c4834e
2 changed files with 11 additions and 5 deletions

View File

@ -0,0 +1,10 @@
#!/bin/bash
source ./common.sh
cd bin
./${PROJECT_NAME} -i $1 -n $2 >> ${PROJECT_NAME}$2_$1.out
echo $? >> start.log
date >> start.log
echo $1 $2 >> start.log
free -m >> start.log

View File

@ -1,9 +1,5 @@
#!/bin/bash
source ./common.sh
ps -ef|grep ${PROJECT_NAME} > bin/ps.log
python manage.py restart $1 $2 ${PROJECT_NAME}
sh real_start_instance.sh $1 $2
echo 'success'