summaryrefslogtreecommitdiff
blob: a4df4c485155e881f862abe60eeef4dd4a9b7c29 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
[Unit]
Description=OpenLDAP Server Daemon
After=network.target

[Service]
Type=forking
PIDFile=/var/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