glibc: add nscd subpkg. Bump revision.
--HG-- extra : convert_revision : ae998b3a2f3f33e848e97df0d1ef7e616ca2f465
This commit is contained in:
9
srcpkgs/glibc/files/nscd.conf
Normal file
9
srcpkgs/glibc/files/nscd.conf
Normal 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
|
||||
5
srcpkgs/glibc/files/nscd.logrotate
Normal file
5
srcpkgs/glibc/files/nscd.logrotate
Normal file
@@ -0,0 +1,5 @@
|
||||
/var/log/nscd.log {
|
||||
sharedscripts
|
||||
copytruncate
|
||||
missingok
|
||||
}
|
||||
23
srcpkgs/glibc/files/nscd.rc
Normal file
23
srcpkgs/glibc/files/nscd.rc
Normal 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 $?
|
||||
}
|
||||
Reference in New Issue
Block a user