diff options
author | Matt Holt <mholt@users.noreply.github.com> | 2021-01-19 18:45:49 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-01-19 18:45:49 -0700 |
commit | 3366384d9347447632ac334ffbbe35fb18738b90 (patch) | |
tree | e58b66f8675d7d1666438373f64a2a25d26e6f5b /cmd/notify.go | |
parent | 1ac6351705e06316d261d2d1cc926ce33d6f23b4 (diff) |
caddycmd: Add upgrade command (#3972)
Replaces the current Caddy executable with a new one from the build server. Honors custom builds, as long as plugins are registered on the Caddy website. Requires permissions to replace current executable, of course.
This is an experimental command that may get changed or removed later.
Diffstat (limited to 'cmd/notify.go')
-rw-r--r-- | cmd/notify.go | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/cmd/notify.go b/cmd/notify.go index 920f2a2..21e0e69 100644 --- a/cmd/notify.go +++ b/cmd/notify.go @@ -14,10 +14,12 @@ package caddycmd +// NotifyReadiness notifies process manager of readiness. func NotifyReadiness() error { return notifyReadiness() } +// NotifyReloading notifies process manager of reloading. func NotifyReloading() error { return notifyReloading() } |