[arch-commits] Commit in openldap/trunk (openldap.install)

Sébastien Luttringer seblu at archlinux.org
Sat Dec 6 00:57:52 UTC 2014


    Date: Saturday, December 6, 2014 @ 01:57:51
  Author: seblu
Revision: 227311

systemd-tmpfiles fails if user/group ldap not exists

Modified:
  openldap/trunk/openldap.install

------------------+
 openldap.install |    2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Modified: openldap.install
===================================================================
--- openldap.install	2014-12-05 22:03:12 UTC (rev 227310)
+++ openldap.install	2014-12-06 00:57:51 UTC (rev 227311)
@@ -1,8 +1,8 @@
 post_install(){
-  systemd-tmpfiles --create slapd.conf
   groupadd -g 439 ldap &>/dev/null
   useradd -u 439 -g ldap -d /var/lib/openldap -s /bin/false ldap &>/dev/null
   chown -R ldap:ldap var/lib/openldap &>/dev/null
+  systemd-tmpfiles --create slapd.conf
 }
 
 post_upgrade(){



More information about the arch-commits mailing list