openldap/slapd.service

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