Report "reloading" state to systemd when running reload callbacks

This commit is contained in:
fox.cpp 2020-01-02 12:37:35 +03:00
parent ea40a8fbc5
commit 24a580a338
No known key found for this signature in database
GPG key ID: E76D97CCEDE90B6C
3 changed files with 10 additions and 4 deletions

View file

@ -5,8 +5,9 @@ package maddy
type SDStatus string
const (
SDReady = "READY=1"
SDStopping = "STOPPING=1"
SDReady = "READY=1"
SDReloading = "RELOADING=1"
SDStopping = "STOPPING=1"
)
func systemdStatus(SDStatus, string) {}