diff options
author | Jakub Jelinek <jakub@redhat.com> | 2005-06-27 09:15:54 +0000 |
---|---|---|
committer | Jakub Jelinek <jakub@redhat.com> | 2005-06-27 09:15:54 +0000 |
commit | 5570fbd25a574d54ab135e1d3cdac0bc74029689 (patch) | |
tree | 6af711ed17dd644491e68d1a85c22e51bac87179 /nscd/nscd.init | |
parent | e4edec582dc1fb924a2cfbfb07409fd7b3c84a26 (diff) | |
download | glibc-5570fbd25a574d54ab135e1d3cdac0bc74029689.tar glibc-5570fbd25a574d54ab135e1d3cdac0bc74029689.tar.gz glibc-5570fbd25a574d54ab135e1d3cdac0bc74029689.tar.bz2 glibc-5570fbd25a574d54ab135e1d3cdac0bc74029689.zip |
Updated to fedora-glibc-20050627T0850
Diffstat (limited to 'nscd/nscd.init')
-rw-r--r-- | nscd/nscd.init | 16 |
1 files changed, 13 insertions, 3 deletions
diff --git a/nscd/nscd.init b/nscd/nscd.init index 23e20c3a82..a0074b99e5 100644 --- a/nscd/nscd.init +++ b/nscd/nscd.init @@ -10,6 +10,16 @@ # processname: /usr/sbin/nscd # config: /etc/nscd.conf # +### BEGIN INIT INFO +# Provides: nscd +# Required-Start: $syslog +# Default-Stop: 0 1 6 +# Short-Description: Starts the Name Switch Cache Daemon +# Description: This is a daemon which handles passwd and group lookups \ +# for running programs and cache the results for the next \ +# query. You should start this daemon if you use \ +# slow naming services like NIS, NIS+, LDAP, or hesiod. +### END INIT INFO # Sanity checks. [ -f /etc/nscd.conf ] || exit 0 @@ -29,7 +39,7 @@ case $(uname -r) in ;; *) #this is not - exit 0 + exit 1 ;; esac @@ -95,11 +105,11 @@ case "$1" in restart RETVAL=$? ;; - condrestart) + try-restart | condrestart) [ -e /var/lock/subsys/nscd ] && restart RETVAL=$? ;; - reload) + force-reload | reload) echo -n $"Reloading $prog: " killproc /usr/sbin/nscd -HUP RETVAL=$? |