forked from ungleich-public/cdist
[new-type] __openldap_server: fix docs / dependency.
It's nicer to have slapd_flags after slapd_enable in rc.conf on freebsd.
This commit is contained in:
parent
22c5cd550b
commit
79d58f0813
2 changed files with 4 additions and 4 deletions
|
@ -141,9 +141,9 @@ EXAMPLES
|
||||||
--serverid 0 \
|
--serverid 0 \
|
||||||
--suffix 'dc=camilion,dc=cloud' \
|
--suffix 'dc=camilion,dc=cloud' \
|
||||||
--slapd-url 'ldaps://ldap.camilion.cloud' \
|
--slapd-url 'ldaps://ldap.camilion.cloud' \
|
||||||
--tls-cert '${pki_prefix}/default.crt' \
|
--tls-cert "${pki_prefix}/default.crt" \
|
||||||
--tls-privkey '${pki_prefix}/default.key' \
|
--tls-privkey "${pki_prefix}/default.key" \
|
||||||
--tls-ca '${pki_prefix}/CA.crt'
|
--tls-ca "${pki_prefix}/CA.crt"
|
||||||
|
|
||||||
# The created basedn looks as follows:
|
# The created basedn looks as follows:
|
||||||
#
|
#
|
||||||
|
|
|
@ -126,7 +126,7 @@ require="__package/${PKG_MAIN}" __start_on_boot slapd
|
||||||
# Setup -h flag for the listeners. See man slapd (-h flag).
|
# Setup -h flag for the listeners. See man slapd (-h flag).
|
||||||
case "${os}" in
|
case "${os}" in
|
||||||
freebsd)
|
freebsd)
|
||||||
require="__package/${PKG_MAIN}" __key_value \
|
require="__start_on_boot/slapd" __key_value \
|
||||||
--file "/etc/rc.conf" \
|
--file "/etc/rc.conf" \
|
||||||
--key "slapd_flags" \
|
--key "slapd_flags" \
|
||||||
--value "\"-h '${slapd_urls}'\"" \
|
--value "\"-h '${slapd_urls}'\"" \
|
||||||
|
|
Loading…
Reference in a new issue