production ready

This commit is contained in:
Linux User committed 2022-06-15 00:15:05 +00:00
1 parent fb290579c1
commit 65cdacf6a8
5864 files changed
+2870 -840191

No files matched your search

Executable
+12
View File
@@ -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