16 lines
388 B
Desktop File
16 lines
388 B
Desktop File
[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
|
|
ExecStartPre=/usr/libexec/openldap/check-config.sh
|
|
ExecStart=/usr/sbin/slapd -u ldap -h ${SLAPD_URLS} $SLAPD_OPTIONS
|
|
TimeoutSec=3
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|