e4ff3b
[Unit]
e4ff3b
Description=OpenLDAP Server Daemon
e4ff3b
After=syslog.target network-online.target
e4ff3b
Documentation=man:slapd
e4ff3b
Documentation=man:slapd-config
e4ff3b
Documentation=man:slapd-hdb
e4ff3b
Documentation=man:slapd-mdb
e4ff3b
Documentation=file:///usr/share/doc/openldap-servers/guide.html
e4ff3b
e4ff3b
[Service]
e4ff3b
Type=forking
e4ff3b
ExecStartPre=/usr/libexec/openldap/check-config.sh
e4ff3b
ExecStart=/usr/sbin/slapd -u ldap -h "ldap:/// ldaps:/// ldapi:///"
e4ff3b
e4ff3b
[Install]
e4ff3b
WantedBy=multi-user.target
e4ff3b
Alias=openldap.service