summaryrefslogtreecommitdiff
path: root/net-nds/openldap/files/slapd-2.6.1.service
blob: ff571d25556a4bf547fee350192fc97ef4f48c03 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
[Unit]
Description=OpenLDAP Server Daemon
After=network.target

[Service]
Type=notify
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
NotifyAccess=all

[Install]
WantedBy=multi-user.target