summaryrefslogtreecommitdiff
path: root/net-nds/openldap/files/slapd.service
diff options
context:
space:
mode:
authorKarel Kočí <cynerd@email.cz>2018-12-03 21:11:10 +0100
committerKarel Kočí <cynerd@email.cz>2018-12-03 21:11:10 +0100
commitef94ef33fc2729b6340fa22abbd500b4728049da (patch)
tree07f28dfd766993308e0de766eaa1207dc1a81f10 /net-nds/openldap/files/slapd.service
parent677325bac4c11638cd75b37fffcf846544ef99b3 (diff)
downloadgentoo-personal-overlay-ef94ef33fc2729b6340fa22abbd500b4728049da.tar.gz
gentoo-personal-overlay-ef94ef33fc2729b6340fa22abbd500b4728049da.tar.bz2
gentoo-personal-overlay-ef94ef33fc2729b6340fa22abbd500b4728049da.zip
openldap: try to add symbol versions
Diffstat (limited to 'net-nds/openldap/files/slapd.service')
-rw-r--r--net-nds/openldap/files/slapd.service12
1 files changed, 12 insertions, 0 deletions
diff --git a/net-nds/openldap/files/slapd.service b/net-nds/openldap/files/slapd.service
new file mode 100644
index 0000000..3427b87
--- /dev/null
+++ b/net-nds/openldap/files/slapd.service
@@ -0,0 +1,12 @@
+[Unit]
+Description=OpenLDAP Server Daemon
+After=network.target
+
+[Service]
+Type=forking
+PIDFile=/run/openldap/slapd.pid
+ExecStartPre=/usr/sbin/slaptest -Q -u $SLAPD_OPTIONS
+ExecStart=/usr/lib/openldap/slapd -u ldap -h ${SLAPD_URLS} $SLAPD_OPTIONS
+
+[Install]
+WantedBy=multi-user.target