mirror of
https://ceregatti.org/git/daniel/dayzdockerserver.git
synced 2025-05-06 22:31:18 +00:00
Stop running sleep in a loop when blocking. Just sleep for a very long time.
This commit is contained in:
parent
a5560962bc
commit
dd685a86fb
1 changed files with 1 additions and 4 deletions
|
@ -257,10 +257,7 @@ start(){
|
||||||
echo "Caught SIGTERM/SIGINT..."
|
echo "Caught SIGTERM/SIGINT..."
|
||||||
exit 0
|
exit 0
|
||||||
' SIGTERM SIGINT
|
' SIGTERM SIGINT
|
||||||
while true
|
sleep 1
|
||||||
do
|
|
||||||
sleep 1
|
|
||||||
done
|
|
||||||
exit 0
|
exit 0
|
||||||
fi
|
fi
|
||||||
# Do the report on exit. Set here so that it only happens once we're starting the server, and not for other actions.
|
# Do the report on exit. Set here so that it only happens once we're starting the server, and not for other actions.
|
||||||
|
|
Loading…
Add table
Reference in a new issue