• Matthew Holt's avatar
    Write pidfile only if server starts successfully · 9e2cef38
    Matthew Holt authored
    Whether the original parent process or a child process as part of a restart, the pidfile will not be written/changed until that process has started successfully. It is written every time caddy.Start() succeeds (may be reundant, but that's probably okay).
    9e2cef38
main.go 4.62 KB