From 18e8503091575892b161a1bf9af0b3f64d6c64f2 Mon Sep 17 00:00:00 2001 From: Luke Shumaker Date: Tue, 5 Sep 2017 18:15:35 -0400 Subject: nslcd_systemd: log a notice when reloading --- nslcd_systemd/nslcd_systemd.go | 1 + 1 file changed, 1 insertion(+) diff --git a/nslcd_systemd/nslcd_systemd.go b/nslcd_systemd/nslcd_systemd.go index 86ebbd9..df6ca71 100644 --- a/nslcd_systemd/nslcd_systemd.go +++ b/nslcd_systemd/nslcd_systemd.go @@ -141,6 +141,7 @@ func Main(backend Backend) uint8 { sd_daemon.Log.Notice("Received SIGTERM, shutting down") return sd_daemon.EXIT_SUCCESS case unix.SIGHUP: + sd_daemon.Log.Notice("Received SIGHUP, reloading") sd_daemon.Notification{State: "RELOADING=1"}.Send(false) err := backend.Reload() if err != nil { -- cgit v1.2.3-2-g168b