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

Re: kill ldap: -INT or -HUP



At 08:08 AM 6/21/2006, Lise Didillon wrote:
>what is the best to kill ldap in a bash script:
>kill -INT or kill -HUP
>I see "kill -INT" in "LDAP admin guide" but allways "kill -HUP" is used in the openLdap test scripts.

I prefer -INT, but either is fine.

>I was thinking that -HUP is used when you want to read again the configuration file

slapd(8) doesn't do that on HUP.  It shuts down (as do many other
programs, as terminate the process is the default action for this
signal, see signal(3)).

Kurt