[openldap] remove initscript, provide systemd service file

jvcelak jvcelak at fedoraproject.org
Tue Nov 1 14:39:36 UTC 2011


commit dc496ea4257b7acef9fe1e7e3f509a55e1587f27
Author: Jan Vcelak <jvcelak at redhat.com>
Date:   Tue Oct 25 17:22:17 2011 +0200

    remove initscript, provide systemd service file

 ldap.init     |  275 ---------------------------------------------------------
 slapd.service |   15 +++
 2 files changed, 15 insertions(+), 275 deletions(-)
---
diff --git a/slapd.service b/slapd.service
new file mode 100644
index 0000000..47e2e05
--- /dev/null
+++ b/slapd.service
@@ -0,0 +1,15 @@
+[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


More information about the scm-commits mailing list