1
This commit is contained in:
parent
d844485ae8
commit
5b94c4834e
10
scripts/publish_cpp_i_n/real_start_instance.sh
Executable file
10
scripts/publish_cpp_i_n/real_start_instance.sh
Executable 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
|
@ -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'
|
||||
|
Loading…
x
Reference in New Issue
Block a user