mirror of
https://github.com/foxcpp/maddy.git
synced 2025-04-06 22:47:37 +03:00
Report "reloading" state to systemd when running reload callbacks
This commit is contained in:
parent
ea40a8fbc5
commit
24a580a338
3 changed files with 10 additions and 4 deletions
|
@ -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) {}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue