summaryrefslogtreecommitdiff
path: root/sigtrap.go
AgeCommit message (Collapse)Author
2019-09-30Clean up provisioned modules on error; refactor Run(); add Validate()Matthew Holt
Modules that return an error during provisioning should still be cleaned up so that they don't leak any resources they may have allocated before the error occurred. Cleanup should be able to run even if Provision does not complete fully.
2019-07-20Add /stop endpoint to admin (#2671)Toby Allen
* Add stop command to admin. Exit after stop. * Return error on incorrect http Method and provide better logging. * reuse stopAndCleanup function for all graceful stops
2019-07-12Standardize exit codes and improve shutdown handling; update gitignoreMatthew Holt