[Date Prev][Date Next] [Chronological] [Thread] [Top]

Re: openLDAP automation



Here's a very simple example.  Obviously, fix this where needed.

case "$1" in
'start')
    /mypath/to/libexec/slapd -f /mypath/to/configfile -myother -options
    ;;
'stop')
    pkill slapd
    ;;
*)
    echo "usage: slapd (start|stop)"
    ;;
esac


On 8/30/05, Jens Grigel <jens.grigel@sskm.de> wrote:
> On Tue, 2005-08-30 at 04:40, Moe wrote:
> > Hi,
> >
> > Does openldap provide a script to start and stop slapd and slurpd on system boot?
> >
> > Moe
> >
> 
> In case you're running openldap on a linux distribution check for a
> openldap package for that distribution and extract the start/stop script
> from it. Adjust the path and variables for a self compiled version and
> you're done.
> 
> --
> 
> Jens Grigel
> 
> Citysavingsbank Munich, Germany
> Dep. of Network and Security
>