holochain / holochain-proto

Holographic storage for distributed applications -- a validating monotonic DHT "backed" by authoritative hashchains for data provenance (a Ceptr sub-project)
http://holochain.org
GNU General Public License v3.0
876 stars 143 forks source link

hcd command #275

Open zippy opened 7 years ago

zippy commented 7 years ago

split out portions of hc into hcd command as per

https://docs.google.com/document/d/1IaW4G8IiKDBF6XdvhzmyjBzknaUam4Q_TGsawVv2PQo/edit#

zippy commented 7 years ago

working in branch 277-hcdev

105ecc13da27 adds hcd command. Still to do is fix the usage text. It assumes sub commands, but hcd just runs chains so no commands.

zippy commented 7 years ago

Actually what we need to do is convert this to actually work more like a deamon spawner, where you have hcd start <chain> and hcd stop <chain> that spins up a separate process for each, and then hcadmin status can show the running status of the chains.

christopherreay commented 7 years ago

https://stackoverflow.com/questions/10067295/how-to-start-a-go-program-as-a-daemon-in-ubuntu