glibc: add nscd subpkg. Bump revision.

--HG--
extra : convert_revision : ae998b3a2f3f33e848e97df0d1ef7e616ca2f465
This commit is contained in:
Juan RP
2009-12-07 15:40:29 +01:00
parent 7179621669
commit 1768ba5b48
6 changed files with 61 additions and 2 deletions

View File

@@ -0,0 +1,9 @@
# Configuration file for nscd(8).
#
logfile /var/log/nscd.log
debug-level 1
server-user nobody
enable-cache passwd yes
enable-cache group yes
enable-cache hosts yes
enable-cache services yes

View File

@@ -0,0 +1,5 @@
/var/log/nscd.log {
sharedscripts
copytruncate
missingok
}

View File

@@ -0,0 +1,23 @@
#!/sbin/runscript
command=/usr/sbin/nscd
pidfile=/var/run/nscd/nscd.pid
depend()
{
use dns ldap net slapd
}
start_pre()
{
if [ ! -d /var/run/nscd ]; then
mkdir -p /var/run/nscd
fi
}
stop()
{
ebegin "Stopping nscd"
${command} -K
eend $?
}