diff options
author | Zac Medico <zmedico@gentoo.org> | 2015-05-09 00:06:24 +0000 |
---|---|---|
committer | Zac Medico <zmedico@gentoo.org> | 2015-05-09 00:06:24 +0000 |
commit | 2d7262b318f1126fcc7b2b1d0c30b0a850f2397f (patch) | |
tree | 5f49fac7cde6bc816cc4fb393fb7dbf094fad0c7 /sys-auth/nss-pam-ldapd | |
parent | Mask e2fsprogs-1.42.12 because of possible data corruption. Bug #548950. (diff) | |
download | gentoo-2-2d7262b318f1126fcc7b2b1d0c30b0a850f2397f.tar.gz gentoo-2-2d7262b318f1126fcc7b2b1d0c30b0a850f2397f.tar.bz2 gentoo-2-2d7262b318f1126fcc7b2b1d0c30b0a850f2397f.zip |
Fix systemd service unit content.
(Portage version: 2.2.18/cvs/Linux x86_64, signed Manifest commit with key FDE8EF85AE5719A3)
Diffstat (limited to 'sys-auth/nss-pam-ldapd')
-rw-r--r-- | sys-auth/nss-pam-ldapd/ChangeLog | 5 | ||||
-rw-r--r-- | sys-auth/nss-pam-ldapd/files/nslcd.service | 35 |
2 files changed, 18 insertions, 22 deletions
diff --git a/sys-auth/nss-pam-ldapd/ChangeLog b/sys-auth/nss-pam-ldapd/ChangeLog index 51f9e4701c4a..b4565e915886 100644 --- a/sys-auth/nss-pam-ldapd/ChangeLog +++ b/sys-auth/nss-pam-ldapd/ChangeLog @@ -1,6 +1,9 @@ # ChangeLog for sys-auth/nss-pam-ldapd # Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-auth/nss-pam-ldapd/ChangeLog,v 1.21 2015/04/07 01:04:53 chutzpah Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-auth/nss-pam-ldapd/ChangeLog,v 1.22 2015/05/09 00:06:24 zmedico Exp $ + + 09 May 2015; Zac Medico <zmedico@gentoo.org> files/nslcd.service: + Fix systemd service unit content. *nss-pam-ldapd-0.9.5-r1 (07 Apr 2015) diff --git a/sys-auth/nss-pam-ldapd/files/nslcd.service b/sys-auth/nss-pam-ldapd/files/nslcd.service index c7fef0ec7173..030cc2c90eb1 100644 --- a/sys-auth/nss-pam-ldapd/files/nslcd.service +++ b/sys-auth/nss-pam-ldapd/files/nslcd.service @@ -1,21 +1,14 @@ ---- nss-pam-ldapd-0.9.5.ebuild -+++ nss-pam-ldapd-0.9.5.ebuild -@@ -5,7 +5,7 @@ - EAPI=5 - - PYTHON_COMPAT=(python2_7) --inherit eutils prefix user python-r1 multilib multilib-minimal -+inherit eutils prefix user python-r1 multilib multilib-minimal systemd - - DESCRIPTION="NSS module for name lookups using LDAP" - HOMEPAGE="http://arthurdejong.org/nss-pam-ldapd/" -@@ -94,6 +94,9 @@ - python_foreach_impl python_newscript utils/${script}.py ${script}.ldap - done - fi -+ -+ systemd_newtmpfilesd "${FILESDIR}"/nslcd-tmpfiles.conf nslcd.conf -+ systemd_dounit "${FILESDIR}"/nslcd.service - } - - multilib_src_test() { +[Unit] +Description=NSS and PAM LDAP client daemon +After=network-online.target +Wants=network-online.target nss-lookup.target syslog.service +Before=nss-user-lookup.target + +[Service] +Type=forking +PIDFile=/var/run/nslcd/nslcd.pid +ExecStart=/usr/sbin/nslcd + +[Install] +WantedBy=multi-user.target +RequiredBy=nss-user-lookup.target |