aboutsummaryrefslogtreecommitdiffstatshomepage
diff options
context:
space:
mode:
authoronefang2021-09-01 16:03:26 +1000
committeronefang2021-09-01 16:03:26 +1000
commitf376f8b6d36a10ed88d423cbcb14d5de9959b0ea (patch)
treead4e65f587096bcf9dae3c66b334c566fbad8d56
parentStrip some more boiler plate from the .shini files. (diff)
downloadopensim-SC-f376f8b6d36a10ed88d423cbcb14d5de9959b0ea.zip
opensim-SC-f376f8b6d36a10ed88d423cbcb14d5de9959b0ea.tar.gz
opensim-SC-f376f8b6d36a10ed88d423cbcb14d5de9959b0ea.tar.bz2
opensim-SC-f376f8b6d36a10ed88d423cbcb14d5de9959b0ea.tar.xz
Delay the web server startup for a few seconds.
So both instances are not trying to create the .shini files.
-rw-r--r--src/sledjchisl/sledjchisl.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sledjchisl/sledjchisl.c b/src/sledjchisl/sledjchisl.c
index 8a686fa..4c6f5a2 100644
--- a/src/sledjchisl/sledjchisl.c
+++ b/src/sledjchisl/sledjchisl.c
@@ -8494,7 +8494,7 @@ Build the OpenSim.
8494 // TODO - remove this once we handle the fcgi stuff ourselves. 8494 // TODO - remove this once we handle the fcgi stuff ourselves.
8495 // Make the FCGI socket world read / write, coz we can't set it to group www-data, since -G only works for root, and we ain't root. 8495 // Make the FCGI socket world read / write, coz we can't set it to group www-data, since -G only works for root, and we ain't root.
8496 // TODO - BIG SECURITY HOLE??? 8496 // TODO - BIG SECURITY HOLE???
8497 "bash -c 'export PATH=%s:$PATH; " 8497 "bash -c 'export PATH=%s:$PATH; sleep 3;" // The sleep is so that both are not creating the .shini files at the same time.
8498 "spawn-fcgi -n -u %s -s %s/sledjchisl.socket -M 0666 -G www-data -- /usr/bin/valgrind --leak-check=full sledjchisl %s; " 8498 "spawn-fcgi -n -u %s -s %s/sledjchisl.socket -M 0666 -G www-data -- /usr/bin/valgrind --leak-check=full sledjchisl %s; "
8499 "cd %s; bash'" 8499 "cd %s; bash'"
8500 , 8500 ,