gentoo-overlay/sys-apps/unscd/files/unscd.initd-r1

16 lines
428 B
Text

#!/sbin/runscript
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/sys-apps/unscd/files/unscd.initd-r1,v 1.1 2014/10/09 13:43:41 jlec Exp $
name="Name Service Cache Daemon (unscd)"
command="/usr/sbin/unscd"
pidfile="/run/nscd/nscd.pid"
depend() {
use dns ldap net slapd
}
start_pre() {
checkpath -d --quiet --mode 755 /run/nscd
}