mirror of https://github.com/qortal/qortal
Qortal Core - Main Code Repository
Decentralized Data Network - Blockchain - TRUE Cross-Chain Trading - Application and Website Hosting - Much More - Qortal is the future internet infrastructure for the global digital world.
https://qortal.dev
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
11 lines
268 B
11 lines
268 B
5 years ago
|
#!/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
|