lnd.xprv/docker/btcd
Antonin Hildebrand 132c67d414 docker: replace bash shells with last command
It is better to replace bash shell with potentially long-running
last script command. This way the running command will receive all
potential unix process signals directly.

A concrete example which motivated this change:
Exec of btcd is needed for graceful shutdown of btcd during
`docker-compose down`. Docker Compose properly sends this signal to our
start-btcd.sh bash shell but it is not further signalled to the running
btcd process. Docker Compose then kills whole container forcefully after
some timeout.

An alternative solution would be to trap SIGTERM in our bash script and
forward it to running btcd. Which would be IMO ugly and error prone.
2018-04-05 18:17:46 -07:00
..
Dockerfile multi: comprehensive typo fixes across all packages 2018-02-06 19:11:11 -08:00
start-btcctl.sh docker: replace bash shells with last command 2018-04-05 18:17:46 -07:00
start-btcd.sh docker: replace bash shells with last command 2018-04-05 18:17:46 -07:00