website and p2pool graceful stop

This commit is contained in:
Matthew Tran
2024-09-17 02:02:35 +00:00
parent c888f10a52
commit c3ef9eb514
6 changed files with 32 additions and 8 deletions
+10 -1
View File
@@ -1,5 +1,6 @@
#!/bin/sh
# check bitmonero.log for log
monero/monerod \
--prune-blockchain \
--rpc-bind-ip 0.0.0.0 \
@@ -10,4 +11,12 @@ monero/monerod \
--add-priority-node=p2pmd.xmrvsbeast.com:18080 \
--add-priority-node=nodes.hashvault.pro:18080 \
--disable-dns-checkpoints \
--enable-dns-blocklist
--enable-dns-blocklist \
--detach
cleanup() {
monero/monerod exit
}
trap 'cleanup' TERM
tail -f /dev/null &
wait $!