void-packages/srcpkgs/glibc/files/nscd.rc
Juan RP 1768ba5b48 glibc: add nscd subpkg. Bump revision.
--HG--
extra : convert_revision : ae998b3a2f3f33e848e97df0d1ef7e616ca2f465
2009-12-07 15:40:29 +01:00

23 lines
250 B
Text

#!/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 $?
}