Dashboard Indicators server config

The indicators site  nww.indicators.renalregistry.nhs.uk is hosted on the n3 sftp server. it is run under the indicators account and code is located in /home/indicators/sites/indicators  and static files being served from /var/www/html/static .  The site is accessed via an nginx proxy with the config files for it located in  /etc/nginx/conf.d/indicators.conf .


There is no simple start/stop script configured for this site and it has to be started and stopped from the command line:

su - indicators
# Use 
ps -ef | grep uws
akiuser    367     1  0  2017 ?        1-08:36:18 uwsgi --ini uwsgi.ini
akiuser    370   367  0  2017 ?        00:03:40 uwsgi --ini uwsgi.ini
717       6747     1  0 Sep07 ?        02:24:00 /home/indicators/sites/indicators/venv/bin/uwsgi --ini conf/uwsgi.ini
717       6749  6747  0 Sep07 ?        00:00:59 /home/indicators/sites/indicators/venv/bin/uwsgi --ini conf/uwsgi.ini
717      31738 29935  0 08:45 pts/0    00:00:00 grep uws

# This will list the process for the indicators
# use kill to stop the process
kill -9 6747
# Then to restart use
cd /home/indicators/sites/indicators
/home/indicators/sites/indicators/venv/bin/uwsgi --ini conf/uwsgi.ini

The application log is located in /home/indicators/sites/indicators/renalindicators/application.log   and in /home/indicators/sites/indicators/var/logs/uwsgi.logÂ