From 1504c08cc483c1db376352c52c4d6288bf8e3b95 Mon Sep 17 00:00:00 2001 From: Guillermo Jimenez Prieto Date: Wed, 9 Dec 2015 17:46:36 +0100 Subject: [PATCH] fixing comments --- README.rst | 2 +- utils/facts_start | 12 +++++------- 2 files changed, 6 insertions(+), 8 deletions(-) diff --git a/README.rst b/README.rst index d94b74d..8dd126f 100644 --- a/README.rst +++ b/README.rst @@ -219,7 +219,7 @@ NOTE: Supervisor provides an “event listener” to subscribe to “event notifications”. The purpose of the event notification/subscription system is to provide a mechanism for arbitrary code to be run (e.g. send an email, make an HTTP request, etc) -when some condition is met. That condition usually has to do with subprocess state. +when some condition is satisfied. That condition usually has to do with subprocess state. For instance, you may want to notify someone via email when a process crashes and is restarted by Supervisor. For more information check also the `Supervisor Documentation`__ diff --git a/utils/facts_start b/utils/facts_start index b8ed3e5..b322112 100755 --- a/utils/facts_start +++ b/utils/facts_start @@ -24,13 +24,11 @@ # # File to execute fiware-facts component # -# __author__ = 'gjp' - -NAME="fiware_facts" # Name of the application -SOCKFILE=/var/run/gunicorn.sock # we will communicte using this unix socket -USER=root # the user to run as -GROUP=root # the group to run as -NUM_WORKERS=3 # how many worker processes should Gunicorn spawn +NAME="fiware_facts" # Name of the application +SOCKFILE=/var/run/gunicorn.sock # we will communicate using this unix socket +USER=root # the user to run as +GROUP=root # the group to run as +NUM_WORKERS=3 # how many worker processes should Gunicorn spawn DJANGO_WSGI_MODULE=facts.server:app # WSGI module name LOCAL_IP=`ifconfig | grep -Eo 'inet (addr:)?([0-9]*\.){3}[0-9]*' | grep -Eo '([0-9]*\.){3}[0-9]*' | grep -v '127.0.0.1'`