Jean-Philippe Pialasse
4e744a3212
- ldif-fix filter string accepting only ascii [SME: 12720] - fix logrotate does not fill new log [SME: 12673] - fix prestart script logs to messages [SME: 12693]
28 lines
886 B
Desktop File
28 lines
886 B
Desktop File
[Unit]
|
|
Description=Koozali SME Server OpenLDAP Server Daemon
|
|
After=syslog.target network-online.target
|
|
Documentation=man:slapd
|
|
Documentation=man:slapd-config
|
|
Documentation=man:slapd-hdb
|
|
Documentation=man:slapd-mdb
|
|
Documentation=file:///usr/share/doc/openldap-servers/guide.html
|
|
|
|
[Service]
|
|
Type=simple
|
|
PIDFile=/var/run/openldap/slapd.pid
|
|
Environment="SLAPD_URLS=ldap:/// ldaps:/// ldapi:///" "SLAPD_OPTIONS=-4 -d 256 -s 0"
|
|
EnvironmentFile=/etc/sysconfig/slapd
|
|
ExecStartPre=/sbin/e-smith/service-status ldap
|
|
ExecStartPre=/sbin/e-smith/expand-template /etc/openldap/ssl/slapd.pem
|
|
ExecStartPre=/sbin/e-smith/systemd/ldap-prepare
|
|
#ExecStartPre=/usr/libexec/openldap/check-config.sh
|
|
ExecStart=/usr/sbin/slapd -u ldap -h ${SLAPD_URLS} $SLAPD_OPTIONS
|
|
TimeoutStartSec=300
|
|
Restart=always
|
|
|
|
ExecStopPost=/sbin/e-smith/systemd/ldap-finish
|
|
SyslogIdentifier=ldap
|
|
|
|
[Install]
|
|
WantedBy=sme-server.target
|