summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--nslcd_systemd/nslcd_systemd.go1
1 files changed, 1 insertions, 0 deletions
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 {