Remove useless monitor scripts from repo
This commit is contained in:
1 parent
6093029c74
commit
72e57139bc
2 files changed
-20
No files matched your search
-13
@@ -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
|
|
||||||
@@ -1,7 +0,0 @@
|
|||||||
#!/bin/bash
|
|
||||||
|
|
||||||
pgrep nginx
|
|
||||||
if [ $? -ne 0 ]
|
|
||||||
then
|
|
||||||
rc-service nginx start
|
|
||||||
fi
|
|
||||||
Reference in new issue
Block a user