Bitcoin Forum
September 26, 2024, 11:17:13 PM *
News: Latest Bitcoin Core release: 27.1 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Closing ArmoryDB cleanly  (Read 174 times)
TierNolan (OP)
Legendary
*
Offline Offline

Activity: 1232
Merit: 1104


View Profile
December 08, 2017, 11:53:30 PM
 #1

Is it possible to issue an instruction to ArmoryDB to do a clean shutdown?  Sometimes it doesn't close when Armory-Qt closes.

I am thinking something similar to

bitcoin-cli ... stop

Logs are here

1LxbG5cKXzTwZg9mjL3gaRE835uNQEteWF
goatpig
Moderator
Legendary
*
Offline Offline

Activity: 3738
Merit: 1360

Armory Developer


View Profile
December 10, 2017, 11:57:02 AM
 #2

It's a bit complicated. You would have to lift the cookie string from the cookie file then construct the FCGI packet to feed the db with the close command. You can just nuke it, the DB is meant to withstand that.

Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!