I'd like to call
(halt! system)
when a production system is triggered to shutdown (in my case from Prunsrv, apache project that's set up a windows service. How do I get the running system config in production, similar to integrant.repl.state/system
I suppose you'd have to store the system somewhere in an atom.
Fair enough
Turns out duct puts system info in the parent thread (or whatever it's called). Should work, so I'll try it out. https://github.com/duct-framework/core/blob/master/src/duct/core.clj#L207