mirror of
https://github.com/void-linux/void-packages.git
synced 2025-09-26 05:35:12 +02:00
23 lines
250 B
Text
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 $?
|
|
}
|