9a796804cd
We have systemd for that.
18 lines
456 B
Desktop File
18 lines
456 B
Desktop File
[Unit]
|
|
Description=OpenLDAP Server Daemon
|
|
After=syslog.target network.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=forking
|
|
ExecStartPre=/usr/libexec/openldap/check-config.sh
|
|
ExecStart=/usr/sbin/slapd -u ldap -h "ldap:/// ldaps:/// ldapi:///"
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|
|
Alias=openldap.service
|