Skip to content

Commit

Permalink
Increase waiting for amw to come up
Browse files Browse the repository at this point in the history
  • Loading branch information
melmothx committed Oct 6, 2024
1 parent 47b55ac commit adeab9b
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion doc/amusewiki
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@ if [ "x$action" = "xrestart" ]; then
--nproc 3 -E deployment \
/usr/share/perl5/AmuseWikiFarm/psgi/amusewiki.psgi &

sleep 10
sleep 20
if [ -f "$tmppidfile" ]; then
temp_pid=`cat $tmppidfile`
if [ -n "$temp_pid" ]; then
Expand Down Expand Up @@ -102,6 +102,7 @@ if [ "x$action" = "xrestart" ]; then
fi
else
echo "Cannot find PID file for temporary amusewiki process, expecting $tmppidfile"
exit 2
fi
fi

Expand Down

0 comments on commit adeab9b

Please sign in to comment.