Gentoo Archives: gentoo-commits

From: "Doug Goldstein (cardoe)" <cardoe@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] gentoo-x86 commit in sys-auth/nss-ldapd/files: nslcd.rc
Date: Thu, 04 Dec 2008 22:17:17
Message-Id: E1L8MVW-0006gg-Jh@stork.gentoo.org
1 cardoe 08/12/04 22:17:14
2
3 Added: nslcd.rc
4 Log:
5 add new nss-ldapd package which is a fork of nss_ldap. It simplifies the code base and provides a small nss library that speaks to a local daemon that does all the LDAP communication. Due to the way NSS works, this will improve interaction with user programs since less code is being loaded into their process space.
6 (Portage version: 2.1.6_rc2/cvs/Linux 2.6.27-gentoo-r2 x86_64)
7
8 Revision Changes Path
9 1.1 sys-auth/nss-ldapd/files/nslcd.rc
10
11 file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-auth/nss-ldapd/files/nslcd.rc?rev=1.1&view=markup
12 plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-auth/nss-ldapd/files/nslcd.rc?rev=1.1&content-type=text/plain
13
14 Index: nslcd.rc
15 ===================================================================
16 #!/sbin/runscript
17 # Copyright 1999-2008 Gentoo Foundation
18 # Distributed under the terms of the GNU General Public License v2
19 # $Header: /var/cvsroot/gentoo-x86/sys-auth/nss-ldapd/files/nslcd.rc,v 1.1 2008/12/04 22:17:14 cardoe Exp $
20
21 depend() {
22 need net
23 }
24
25 start() {
26 start-stop-daemon --start --pidfile /var/run/nslcd/nslcd.pid \
27 --exec /usr/sbin/nslcd
28 }
29
30 stop() {
31 start-stop-daemon --stop --pidfile /var/run/nslcd/nslcd.pid
32 }