10 lines
138 B
Bash
Executable File
10 lines
138 B
Bash
Executable File
#!/bin/bash
|
|
|
|
source ./common.sh
|
|
|
|
ps -ef|grep ${PROJECT_NAME} > bin/ps.log
|
|
|
|
python manage.py restart $1 $2 ${PROJECT_NAME}
|
|
|
|
echo 'success'
|