aboutsummaryrefslogtreecommitdiffstats
path: root/clfs/units/slapd.service
diff options
context:
space:
mode:
Diffstat (limited to 'clfs/units/slapd.service')
-rw-r--r--clfs/units/slapd.service11
1 files changed, 11 insertions, 0 deletions
diff --git a/clfs/units/slapd.service b/clfs/units/slapd.service
new file mode 100644
index 0000000..8244128
--- /dev/null
+++ b/clfs/units/slapd.service
@@ -0,0 +1,11 @@
+[Unit]
+Description=OpenLDAP server daemon
+After=network.target
+
+[Service]
+Type=forking
+EnvironmentFile=/etc/default/slapd
+ExecStart=/usr/sbin/slapd -u ldap -g ldap $SLAPD_OPTS
+
+[Install]
+WantedBy=multi-user.target