Updated script file
This commit is contained in:
parent
fc2403daba
commit
adf3981297
|
@ -47,7 +47,7 @@ function validations() {
|
||||||
function status(){
|
function status(){
|
||||||
if [ "$1" == "start" ];then
|
if [ "$1" == "start" ];then
|
||||||
[ -z "`pidof nginx`" ] && service nginx start
|
[ -z "`pidof nginx`" ] && service nginx start
|
||||||
[ -z "`pidof python2.7`" ] && gunicorn_django -b ${FCGI_IP}:${FCGI_PORT} -e DJANGO_SETTINGS_MODULE=${MOD} -e APP_CONFIGFILE=${SZ_CONFIG_FILE} --pythonpath=${BASE_PATH} shelfzilla.wsgi:application
|
[ -z "`pidof python2.7`" ] && gunicorn -b ${FCGI_IP}:${FCGI_PORT} -e DJANGO_SETTINGS_MODULE=${MOD} -e APP_CONFIGFILE=${SZ_CONFIG_FILE} --pythonpath=${BASE_PATH} shelfzilla.wsgi:application
|
||||||
check $? "Gunicorn"
|
check $? "Gunicorn"
|
||||||
|
|
||||||
elif [ "$1" == "stop" ];then
|
elif [ "$1" == "stop" ];then
|
||||||
|
|
Reference in New Issue