Author: humbedooh
Date: Wed Aug  7 09:26:40 2019
New Revision: 1864607

URL: http://svn.apache.org/viewvc?rev=1864607&view=rev
Log:
add gunicorn check for reporter.a.o.
at a later point, we should puppetize most of this.

Modified:
    comdev/reporter.apache.org/trunk/README.txt

Modified: comdev/reporter.apache.org/trunk/README.txt
URL: 
http://svn.apache.org/viewvc/comdev/reporter.apache.org/trunk/README.txt?rev=1864607&r1=1864606&r2=1864607&view=diff
==============================================================================
--- comdev/reporter.apache.org/trunk/README.txt (original)
+++ comdev/reporter.apache.org/trunk/README.txt Wed Aug  7 09:26:40 2019
@@ -52,6 +52,7 @@ crontab -l -u www-data: (Not currently s
 30 00 * * *      cd /var/www/reporter.apache.org/scripts && ./python3logger.sh 
bugzillastats.py
 50 00 * * *      cd /var/www/reporter.apache.org/scripts && ./python3logger.sh 
health.py
 32  * * * *      cd /var/www/reporter.apache.org/scripts && ./python3logger.sh 
readchecker.py
+*/30 * * * *     pgrep -f "gunicorn3.*wsgi:app" || (cd 
/var/www/reporter.apache.org/scripts && gunicorn3 -b 127.0.0.1:8000 -w 6 -D 
wsgi:app && echo "restarting gunicorn for reporter")
 
 # ensure that any new data files get picked up by the commit (which must be 
done by root)
 40  * * * *      cd /var/www/reporter.apache.org/scripts && ./svnadd.sh 
../data/releases


Reply via email to