1
This commit is contained in:
parent
4f1aff87e4
commit
8dbd9659f5
@ -1,5 +1,9 @@
|
|||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
|
||||||
sh real_start_instance.sh $1 $2
|
source ./common.sh
|
||||||
|
|
||||||
|
ps -ef|grep ${PROJECT_NAME} > bin/ps.log
|
||||||
|
|
||||||
|
python manage.py restart $1 $2 ${PROJECT_NAME}
|
||||||
|
|
||||||
echo 'success'
|
echo 'success'
|
||||||
|
@ -2,5 +2,5 @@
|
|||||||
|
|
||||||
source ./common.sh
|
source ./common.sh
|
||||||
|
|
||||||
cd bin
|
nohup sh real_start_instance.sh $1 $2 >> ${PROJECT_NAME}$2_$1.out 2>&1 &
|
||||||
nohup ./${PROJECT_NAME} -i $1 -n $2 >> ${PROJECT_NAME}$2_$1.out 2>&1 &
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user