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