diff --git a/changelog/15041.txt b/changelog/15041.txt new file mode 100644 index 0000000000000..609b23d609cc4 --- /dev/null +++ b/changelog/15041.txt @@ -0,0 +1,3 @@ +```release-note:bug +core: fixed systemd reloading notification +``` diff --git a/command/server.go b/command/server.go index 87f7e8dda1984..225be6b8fed4d 100644 --- a/command/server.go +++ b/command/server.go @@ -1599,6 +1599,9 @@ func (c *ServerCommand) Run(args []string) int { default: } + // Notify systemd that the server has completed reloading config + c.notifySystemd(systemd.SdNotifyReady) + case <-c.SigUSR2Ch: logWriter := c.logger.StandardWriter(&hclog.StandardLoggerOptions{}) pprof.Lookup("goroutine").WriteTo(logWriter, 2)