diff options
author | ivan <ivan> | 2009-01-04 22:07:16 +0000 |
---|---|---|
committer | ivan <ivan> | 2009-01-04 22:07:16 +0000 |
commit | c23d6e1673dbec98fe9d778ee55962d2cbd145d5 (patch) | |
tree | 419f7f73d34c41cf76f8e2c73515012ef5108944 | |
parent | 0da7ecb92ccd671c47cb7fd4d04560cc80d4b520 (diff) |
don't run a self-service server against localhost OOTB; eliminate those gigantic useless logfiles
-rw-r--r-- | Makefile | 2 | ||||
-rw-r--r-- | init.d/freeside-init | 1 |
2 files changed, 2 insertions, 1 deletions
@@ -88,7 +88,7 @@ QUEUED_USER=fs_queue SELFSERVICE_USER = fs_selfservice #never run on the same machine in production!!! -SELFSERVICE_MACHINES = localhost +SELFSERVICE_MACHINES = # SELFSERVICE_MACHINES = www.example.com # SELFSERVICE_MACHINES = web1.example.com web2.example.com diff --git a/init.d/freeside-init b/init.d/freeside-init index 54ebea297..2f9d5d500 100644 --- a/init.d/freeside-init +++ b/init.d/freeside-init @@ -75,6 +75,7 @@ case "$1" in echo "done." fi + if [ -z "$SELFSERVICE_MACHINES" ]; then SELFSERVICE_MACHINES='localhost'; fi for MACHINE in $SELFSERVICE_MACHINES; do if [ -e /var/run/freeside-selfservice-server.$SELFSERVICE_USER.$MACHINE.pid ] then |