« Previous | Next » 

Revision 44f62925

ID44f6292581aadaeb3b0391bee5165855ea4d8536

Added by Georgios D. Tsoukalas almost 11 years ago

SYNNEFO_SERVICE_NAME: per-service configuration.

1. Introduce an environment variable SYNNEFO_SERVICE_NAME.
This causes an additional settings subdir to be read,
$SYNNEFO_SETTINGS_DIR/$SYNNEFO_SERVICE_NAME.

Files from both parent and subdir are retrieved
and put together and then are read in lexicographical order.
This is to support multiple applications servers to run
from the same settings dir, sharing some global configuration.
It is backwards compatible as if there is no envaronment variable,
the extra directories are ignored, or if there is no subdir,
it is not considered failure

2. Create additional scripts snf-astakos, snf-cyclades, snf-pithos
that set the corresponding service names 'astakos', 'cyclades', 'pithos'.

3. snf-dispatcher sets the service name to 'cyclades'

Files

  • added
  • modified
  • copied
  • renamed
  • deleted

View differences