| 1 | [Unit] |
| 2 | Description=OpenLDAP Server Daemon |
| 3 | After=syslog.target network-online.target |
| 4 | Documentation=man:slapd |
| 5 | Documentation=man:slapd-config |
| 6 | Documentation=man:slapd-mdb |
| 7 | |
| 8 | [Service] |
| 9 | Type=notify |
| 10 | Environment="SLAPD_URLS=ldap:/// ldapi:///" "SLAPD_OPTIONS=" |
| 11 | EnvironmentFile=/etc/sysconfig/slapd |
| 12 | ExecStart=%LIBEXECDIR%/slapd -d 0 -h ${SLAPD_URLS} $SLAPD_OPTIONS |
| 13 | |
| 14 | [Install] |
| 15 | WantedBy=multi-user.target |