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

Re: How can I stop multiple slapd?



Hi,

my slapd is running on SUSE LINUX.
If you have a line like "pidfile    /var/run/slapd.pid "
in your slapd.conf you can do the following (maybe in a script),
where "$conffile" is path to slapd.conf :

pid=`cat $conffile |grep ".pid"| sed -e "s/pidfile//g"|sed -e "s/ //g"`
pid=`cat $pid`
kill -INT $pid 

hth Harry