diff options
author | Toby Allen <tobyallen@toflidium.com> | 2019-07-20 17:48:46 +0100 |
---|---|---|
committer | Matt Holt <mholt@users.noreply.github.com> | 2019-07-20 10:48:46 -0600 |
commit | d98f2faef960f549c973d747d2e7c484d6e845c7 (patch) | |
tree | 142bc82f1797c6024c7b2e0e4b5c31d35c3e2da7 /pkg/caddyscript/lib/time.go | |
parent | b855e661700fa8f9176f29c3c5b1cebd4cc09351 (diff) |
Add /stop endpoint to admin (#2671)
* 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
Diffstat (limited to 'pkg/caddyscript/lib/time.go')
0 files changed, 0 insertions, 0 deletions