diff options
author | Luke Shumaker <lukeshu@lukeshu.com> | 2017-09-05 18:15:35 -0400 |
---|---|---|
committer | Luke Shumaker <lukeshu@lukeshu.com> | 2017-09-08 16:55:55 -0400 |
commit | 18e8503091575892b161a1bf9af0b3f64d6c64f2 (patch) | |
tree | 8dc8e4d0c9adc4101ee36172e6a34f256e4c32c1 | |
parent | 74919bfa1107615f77931bd5ee94ef9010832b49 (diff) |
nslcd_systemd: log a notice when reloading
-rw-r--r-- | nslcd_systemd/nslcd_systemd.go | 1 |
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 { |