This commit is contained in:
aozhiwei 2019-11-28 14:26:24 +08:00
parent c2cdad0a58
commit f319442255
2 changed files with 5 additions and 1 deletions

View File

@ -1,5 +1,7 @@
#!/bin/bash #!/bin/bash
source ./common.sh
python manage.py restart $1 $2 python manage.py restart $1 $2
echo 'success' echo 'success'

View File

@ -1,4 +1,6 @@
#!/bin/bash #!/bin/bash
source ./common.sh
cd bin cd bin
nohup ./$3 -i $1 -n $2 >> $3$2_$1.out 2>&1 & nohup ./${PROJECT_NAME} -i $1 -n $2 >> ${PROJECT_NAME}$2_$1.out 2>&1 &