Caddy: Caddy doesn't currently notify systemctl when it is properly loaded

Created on 20 Nov 2020  路  4Comments  路  Source: caddyserver/caddy

Could this be implemented by calling sd_notify(0, "READY=1"); when initial config has loaded and is being served/requests can be accepted?

feature request help wanted

Most helpful comment

I'd like to work on this.

All 4 comments

Looks simple enough:

https://github.com/coreos/go-systemd/blob/master/daemon/sdnotify.go

It would need to only be done on Linux though.

I'd like to work on this.

Hey All, sorry for not being able to work on this so far. Will raise a pull for this shortly.

Implemented in #3963, for some reason it didn't link

Was this page helpful?
0 / 5 - 0 ratings