mirror of
https://github.com/dragonlock2/matthewtran.com.git
synced 2025-10-11 20:17:54 +00:00
monerod graceful stop
This commit is contained in:
parent
c3ef9eb514
commit
ee115a43f2
@ -41,6 +41,7 @@ services:
|
|||||||
volumes:
|
volumes:
|
||||||
- ./monerod/.bitmonero:/home/ubuntu/.bitmonero
|
- ./monerod/.bitmonero:/home/ubuntu/.bitmonero
|
||||||
p2pool:
|
p2pool:
|
||||||
|
stop_grace_period: 1m # TODO reduce m_shutdownCountdown to reduce this
|
||||||
restart: always
|
restart: always
|
||||||
build: p2pool/.
|
build: p2pool/.
|
||||||
entrypoint: ["/bin/sh", "/home/ubuntu/entry.sh"]
|
entrypoint: ["/bin/sh", "/home/ubuntu/entry.sh"]
|
||||||
|
@ -3,9 +3,9 @@
|
|||||||
# check bitmonero.log for log
|
# check bitmonero.log for log
|
||||||
monero/monerod \
|
monero/monerod \
|
||||||
--prune-blockchain \
|
--prune-blockchain \
|
||||||
--rpc-bind-ip 0.0.0.0 \
|
--rpc-bind-port 18089 \
|
||||||
--confirm-external-bind \
|
--rpc-restricted-bind-ip 0.0.0.0 \
|
||||||
--restricted-rpc \
|
--rpc-restricted-bind-port 18081 \
|
||||||
--zmq-pub tcp://0.0.0.0:18083 \
|
--zmq-pub tcp://0.0.0.0:18083 \
|
||||||
--out-peers 32 --in-peers 64 \
|
--out-peers 32 --in-peers 64 \
|
||||||
--add-priority-node=p2pmd.xmrvsbeast.com:18080 \
|
--add-priority-node=p2pmd.xmrvsbeast.com:18080 \
|
||||||
@ -15,7 +15,7 @@ monero/monerod \
|
|||||||
--detach
|
--detach
|
||||||
|
|
||||||
cleanup() {
|
cleanup() {
|
||||||
monero/monerod exit
|
monero/monerod exit --rpc-bind-port 18089
|
||||||
}
|
}
|
||||||
trap 'cleanup' TERM
|
trap 'cleanup' TERM
|
||||||
tail -f /dev/null &
|
tail -f /dev/null &
|
||||||
|
Loading…
x
Reference in New Issue
Block a user