Merge pull request #575 from zstadler/patch-1
Fix #560 - refresh by docker/-compose kill command
This commit is contained in:
@@ -24,6 +24,10 @@ if ! which -- "${1}"; then
|
|||||||
# Wait exits immediately on signals which have traps set. Store return value and wait
|
# Wait exits immediately on signals which have traps set. Store return value and wait
|
||||||
# again for all jobs to actually complete before continuing.
|
# again for all jobs to actually complete before continuing.
|
||||||
wait $! || RETVAL=$?
|
wait $! || RETVAL=$?
|
||||||
|
while [ ${RETVAL} = 129 ] ; do
|
||||||
|
# Refressh signal HUP received. Continue waiting for signals.
|
||||||
|
wait $! || RETVAL=$?
|
||||||
|
done
|
||||||
wait
|
wait
|
||||||
exit ${RETVAL}
|
exit ${RETVAL}
|
||||||
fi
|
fi
|
||||||
|
|||||||
+1
-1
@@ -35,4 +35,4 @@ Reloading the configuration
|
|||||||
It is possible to reload the configuration file without restarting the whole process by sending a SIGHUP signal to the node process.
|
It is possible to reload the configuration file without restarting the whole process by sending a SIGHUP signal to the node process.
|
||||||
|
|
||||||
- The `docker kill -s HUP tileserver-gl` command can be used when running the tileserver-gl docker container.
|
- The `docker kill -s HUP tileserver-gl` command can be used when running the tileserver-gl docker container.
|
||||||
- The `docker-compose -s HUP tileserver-gl-service-name` can be used when tileserver-gl is run as a docker-compose service.
|
- The `docker-compose kill -s HUP tileserver-gl-service-name` can be used when tileserver-gl is run as a docker-compose service.
|
||||||
|
|||||||
Reference in New Issue
Block a user