meta-starlingx/recipes-support/openldap/files/stx-slapd.service
Sar Ashki, Babak 1a30a897a9 ansible-bootstrap fails: slapd fails to start
stx-config/puppet-manifest:
 - set ldap module path to libexec
 - default is lib64 which is not where OE installs openldap
sudo:
 - build --with-ldap and apply stx patches
 - needed for sudo.schema / slapd
openldap:
 - install ldap / la modules
packagegroups:
 - stx-python: pexpect, trove, colorama, debtcollector, mysql
 - stx: e2fsprogs-resize2fs nss-pam-ldapd openldap-devand libmysqld + deps
rabbitmq-server:
 - run under uid 0 to bypass permission errors
conf/layer.conf:
 - Add ldap user
 - set preferred versions
 - Set CONTROLLER_IP to localhost
classes/stx-postrun.bbclass:
 - Add openldap fine tuning
 - fix permissions for keystone to start
2019-12-11 19:43:19 -08:00

22 lines
629 B
Desktop File

[Unit]
Description=OpenLDAP Server Daemon
After=syslog.target network-online.target
Documentation=man:slapd
Documentation=man:slapd-config
Documentation=man:slapd-hdb
Documentation=man:slapd-mdb
Documentation=file:///usr/share/doc/openldap-servers/guide.html
[Service]
Type=forking
RuntimeDirectory=openldap
StateDirectory=openldap-data
# PIDFile=/var/run/openldap/slapd.pid
Environment="SLAPD_URLS=ldap:/// ldapi:///" "SLAPD_OPTIONS="
EnvironmentFile=/etc/sysconfig/slapd
ExecStartPre=/usr/libexec/openldap/check-config.sh
ExecStart=/usr/sbin/slapd -u root -h ${SLAPD_URLS} $SLAPD_OPTIONS
[Install]
WantedBy=multi-user.target