glibc/glibc-nscd-sysconfig.patch
Carlos O'Donell 43bff16613 Sync with upstream master.
Use cleaner upstream solution for -ftree-loop-distribute-patterns (#911307).
2014-03-12 18:13:23 -04:00

15 lines
423 B
Diff

diff --git a/nscd/nscd.service b/nscd/nscd.service
index b7428a3..19ba185 100644
--- a/nscd/nscd.service
+++ b/nscd/nscd.service
@@ -5,7 +5,8 @@ Description=Name Service Cache Daemon
[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