#!/sbin/runscript
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo/src/patchsets/glibc/extra/etc/nscd,v 1.5 2011/08/29 05:21:40 vapier Exp $
+# $Header: /var/cvsroot/gentoo/src/patchsets/glibc/extra/etc/nscd,v 1.6 2012/07/03 20:05:39 vapier Exp $
depend() {
use dns ldap net slapd
local pidfile="/var/run/nscd/nscd.pid"
mkdir -p "${pidfile%/*}"
- start-stop-daemon --start --quiet \
+ start-stop-daemon --start --quiet --background \
--exec /usr/sbin/nscd --pidfile ${pidfile} \
- -- $secure
+ -- --foreground $secure
eend $?
}