This repository has been archived on 2024-11-07. You can view files and clone it, but cannot push or open issues or pull requests.
openldap25/openldap.service

15 lines
383 B
SYSTEMD
Raw Permalink Normal View History

[Unit]
Description=OpenLDAP Server Daemon
After=syslog.target network.target
[Service]
Type=forking
PIDFile=/run/openldap/slapd.pid
Environment="SLAPD_URLS=ldap:/// ldapi:///" "SLAPD_OPTIONS="
EnvironmentFile=/etc/sysconfig/ldap
#ExecStartPre=/usr/libexec/slapd/check-config.sh
ExecStart=/usr/sbin/slapd -u ldap -h ${SLAPD_URLS} $SLAPD_OPTIONS
[Install]
WantedBy=multi-user.target