forked from bitpay/bitcore-node
-
Notifications
You must be signed in to change notification settings - Fork 76
Open
Description
I've built a docker image consisting of dashcore-node that spawns the dashd process.
When started via docker run -it image-name the current shell keeps being attached to the docker process so that later pressing key combo CTRL+C results in dashd gracefully shutting down. This can be confirmed by looking at dashd's debug.log which contains
Shutdown: done
as the last entry.
When using docker-compose however upon stopping the container dashd is SIGKILLED, debug.log has no entry about shutting down and the berkeleydb directory "database" is still present in dashd's datadir which is a clear indication that no graceful shutdown happened.
I can only guess that dashcore-node has to handle SIGNALs here for a graceful shutdown of the spawned dashd.
Metadata
Metadata
Assignees
Labels
No labels