summaryrefslogtreecommitdiff
path: root/sys-apps/unscd/files/unscd.initd-r1
blob: f49184724a416875c3af6fc9c8fd0da71e311e22 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#!/sbin/openrc-run
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2

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
}