glibc/glibc-nscd-sysconfig.patch
Siddhesh Poyarekar bdbcf83e82 Use nscd service files from glibc sources and make the service forking
Currently the nscd service is installed in systemd as a simple
service, which means that it is able to handle its own errors and does
not quit.  Since nscd does not fit that description, i.e. it can exit
on errors like, say, failing to parse nscd.conf, it should be declared
as forking instead.
2014-02-27 00:31:15 +05:30

13 lines
376 B
Diff

--- a/nscd/nscd.service 2014-02-27 00:04:13.684640521 +0530
+++ b/nscd/nscd.service 2014-02-27 00:06:14.996635380 +0530
@@ -6,7 +6,8 @@
[Service]
Type=forking
-ExecStart=/usr/sbin/nscd
+EnvironmentFile=-/etc/sysconfig/nscd
+ExecStart=/usr/sbin/nscd $NSCD_OPTIONS
ExecStop=/usr/sbin/nscd --shutdown
ExecReload=/usr/sbin/nscd -i passwd
ExecReload=/usr/sbin/nscd -i group