2011-10-25 15:22:17 +00:00
|
|
|
[Unit]
|
|
|
|
Description=OpenLDAP Server Daemon
|
|
|
|
After=syslog.target
|
|
|
|
|
|
|
|
[Service]
|
|
|
|
Type=forking
|
|
|
|
PIDFile=/var/run/openldap/slapd.pid
|
|
|
|
Environment="SLAPD_URLS=ldap:/// ldapi:///" "SLAPD_OPTIONS="
|
|
|
|
EnvironmentFile=/etc/sysconfig/slapd
|
2012-02-15 08:10:16 +00:00
|
|
|
ExecStartPre=/usr/libexec/openldap/check-config.sh
|
2011-10-25 15:22:17 +00:00
|
|
|
ExecStart=/usr/sbin/slapd -u ldap -h ${SLAPD_URLS} $SLAPD_OPTIONS
|
|
|
|
|
|
|
|
[Install]
|
|
|
|
WantedBy=multi-user.target
|