projects
/
freeside.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
0da7ecb
)
don't run a self-service server against localhost OOTB; eliminate those gigantic...
author
ivan
<ivan>
Sun, 4 Jan 2009 22:07:16 +0000
(22:07 +0000)
committer
ivan
<ivan>
Sun, 4 Jan 2009 22:07:16 +0000
(22:07 +0000)
Makefile
patch
|
blob
|
history
init.d/freeside-init
patch
|
blob
|
history
diff --git
a/Makefile
b/Makefile
index
62d5c11
..
33bb57b
100644
(file)
--- 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_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
# 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
54ebea2
..
2f9d5d5
100644
(file)
--- a/
init.d/freeside-init
+++ b/
init.d/freeside-init
@@
-75,6
+75,7
@@
case "$1" in
echo "done."
fi
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
for MACHINE in $SELFSERVICE_MACHINES; do
if [ -e /var/run/freeside-selfservice-server.$SELFSERVICE_USER.$MACHINE.pid ]
then