767ab2
[Unit]
767ab2
Description=OpenLDAP Server Daemon
767ab2
After=syslog.target network.target
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