[PATCH 1/4] Add ExecReload for netgroups cache in nscd service file

Siddhesh Poyarekar siddhesh@redhat.com
Wed Feb 26 17:20:00 GMT 2014


Hi,

The netgroup cache should also get reloaded when systemctl reload
nscd.service is called.

Siddhesh

	* nscd/nscd.service: Reload netgroup cache.

---
 nscd/nscd.service | 1 +
 1 file changed, 1 insertion(+)

diff --git a/nscd/nscd.service b/nscd/nscd.service
index 99c7563..33d06ac 100644
--- a/nscd/nscd.service
+++ b/nscd/nscd.service
@@ -11,6 +11,7 @@ ExecReload=/usr/sbin/nscd -i passwd
 ExecReload=/usr/sbin/nscd -i group
 ExecReload=/usr/sbin/nscd -i hosts
 ExecReload=/usr/sbin/nscd -i services
+ExecReload=/usr/sbin/nscd -i netgroup
 Restart=always
 PIDFile=/run/nscd/nscd.pid
 
-- 
1.8.3.1

-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 473 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/libc-alpha/attachments/20140226/f2b4a9fb/attachment.sig>


More information about the Libc-alpha mailing list