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