mirror of
https://ceregatti.org/git/daniel/dayzdockerserver.git
synced 2025-05-06 14:21: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..."
|
||||
exit 0
|
||||
' SIGTERM SIGINT
|
||||
while true
|
||||
do
|
||||
sleep 1
|
||||
done
|
||||
sleep 1
|
||||
exit 0
|
||||
fi
|
||||
# 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