2011-10-25 15:22:17 +00:00
|
|
|
[Unit]
|
|
|
|
Description=OpenLDAP Server Daemon
|
2013-04-02 11:39:38 +00:00
|
|
|
After=syslog.target network.target
|
2014-02-20 07:41:48 +00:00
|
|
|
Documentation=man:slapd
|
|
|
|
Documentation=man:slapd-config
|
|
|
|
Documentation=man:slapd-hdb
|
|
|
|
Documentation=man:slapd-mdb
|
|
|
|
Documentation=file:///usr/share/doc/openldap-servers/guide.html
|
2011-10-25 15:22:17 +00:00
|
|
|
|
|
|
|
[Service]
|
|
|
|
Type=forking
|
|
|
|
PIDFile=/var/run/openldap/slapd.pid
|
2012-02-15 08:10:16 +00:00
|
|
|
ExecStartPre=/usr/libexec/openldap/check-config.sh
|
2014-02-19 15:14:35 +00:00
|
|
|
ExecStart=/usr/sbin/slapd -u ldap -h "ldap:/// ldapi:///"
|
2011-10-25 15:22:17 +00:00
|
|
|
|
|
|
|
[Install]
|
|
|
|
WantedBy=multi-user.target
|
2014-02-20 07:43:54 +00:00
|
|
|
Alias=openldap.service
|