mirror of
https://github.com/Qortal/qortal.git
synced 2025-07-23 04:36:50 +00:00
Improved run.sh, additional stop.sh and bumped genesis block timestamp in blockchain.json
This commit is contained in:
10
stop.sh
Executable file
10
stop.sh
Executable file
@@ -0,0 +1,10 @@
|
||||
#!/bin/sh
|
||||
|
||||
echo 'Calling GET /admin/stop on local Qortal node'
|
||||
if curl --url http://localhost:12391/admin/stop 1>/dev/null 2>&1; then
|
||||
echo "Qortal node responded and should be shutting down"
|
||||
exit 0
|
||||
else
|
||||
echo "No response from Qortal node - not running?"
|
||||
exit 1
|
||||
fi
|
Reference in New Issue
Block a user