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
|
2011-10-25 15:22:17 +00:00
|
|
|
|
|
|
|
[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
|