diff --git a/monitorG.sh b/monitorG.sh deleted file mode 100755 index 494e3bce..00000000 --- a/monitorG.sh +++ /dev/null @@ -1,13 +0,0 @@ -#!/bin/bash - -PLIST="gunicorn redis nginx" - -for p in $PLIST -do - pgrep $p - if [ $? -ne 0 ] - then - /etc/init.d/$p start >/dev/null -fi -done -#gunicorn -c /home/williedynamite/django_lottopy/gunicorn.conf.py --workers 3 --bind unix:/root/django_lottopy/django_lottopy.sock lottopy_site.wsgi:application diff --git a/monitorN.sh b/monitorN.sh deleted file mode 100755 index 2666a9fc..00000000 --- a/monitorN.sh +++ /dev/null @@ -1,7 +0,0 @@ -#!/bin/bash - -pgrep nginx -if [ $? -ne 0 ] -then - rc-service nginx start -fi