# Author: Geoff Clements # # This is the control file for running Pylons servers. It is read by # /etc/init.d/pylons # # The big red button, set it to any value other than "YES" to # prevent all Pylons servers from starting START_PYLONS=YES # Location of the virtual environment PYENV=/home/fgsk/fgskmv-env # Which python is in the virtual environment PYTHON=python2.5 # Set which user and group the servers should run as #PYLONS_UG='www-data:www-data' PYLONS_UG='fgsk:fgsk' # Definition of the servers to start # To start a server you must assign it to: SERVERS[0], SERVERS[1], # SERVERS[2] ... etc. # The servers are started in numerical order. # The value to use should be the full path to the ini file, normally # production.ini, feel free to use the pre-defined variables above. # In order to prevent any individual server from starting just put an # underscore at the start of the server path, see SERVER[1] example # below. # WARNING: # Do not make any adjustment other than adding new servers to this list # whilst the servers are running. Please stop all servers before making # a change. SERVERS[0]=${PYENV}/production.ini