summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile2
-rw-r--r--init.d/freeside-init1
2 files changed, 2 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index 62d5c1147..33bb57bd5 100644
--- a/Makefile
+++ b/Makefile
@@ -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