You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@community.apache.org by hu...@apache.org on 2019/08/07 09:26:40 UTC

svn commit: r1864607 - /comdev/reporter.apache.org/trunk/README.txt

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