You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
|
|
|
|
#!@l_prefix@/lib/openpkg/bash @l_prefix@/etc/rc
|
|
|
|
|
##
|
|
|
|
|
## rc.openldap -- Run-Commands
|
|
|
|
|
##
|
|
|
|
|
|
|
|
|
|
%config
|
|
|
|
|
openldap_enable="yes"
|
|
|
|
|
|
|
|
|
|
%start -p 200 -u @l_susr@
|
|
|
|
|
opServiceEnabled openldap || exit 0
|
|
|
|
|
@l_prefix@/libexec/slapd
|
|
|
|
|
|
|
|
|
|
%stop -p 200 -u @l_susr@
|
|
|
|
|
opServiceEnabled openldap || exit 0
|
|
|
|
|
kill -INT `cat @l_prefix@/var/openldap/slapd.pid`
|
|
|
|
|
|
|
|
|
|
%restart -u @l_susr@
|
|
|
|
|
opServiceEnabled openldap || exit 0
|
|
|
|
|
kill -INT `cat @l_prefix@/var/openldap/slapd.pid`
|
|
|
|
|
sleep 2
|
|
|
|
|
@l_prefix@/libexec/slapd
|
|
|
|
|
|