production ready
This commit is contained in:
1 parent
fb290579c1
commit
65cdacf6a8
5864 files changed
+2870
-840191
No files matched your search
Executable
+12
@@ -0,0 +1,12 @@
|
||||
#!/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
|
||||
#gunicorn -c /home/williedynamite/django_lottopy/gunicorn.conf.py --workers 3 --bind unix:/root/django_lottopy/django_lottopy.sock lottopy_site.wsgi:application
|
||||
Reference in new issue
Block a user