[Initng] Regarding the slapd.ii file (or: Signals sent by InitNG to stop daemons)
Eric MSP Veith
eveith at wwweb-library.net
Mon Jan 1 19:38:47 CET 2007
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1
Hello everybody,
I'm currently setting up an OpenLDAP server on a machine that's using InitNG
to boot up. I've noticed that there's no way to specify which signal is sent
when InitNG stops a daemon. This question is particulary important for slapd,
because the OpenLDAP adminitrator's manual states that slapd *must* be killed
with SIGINT, stopping it with any other signal may cause data loss.
I've for now modified the ifile by adding a stop skript that explicitly
executes kill -INT. However, for the future it would be nice to know which
signal is sent by InitNG. Or perhaps adding an option to specify the signal
would be a nice addition to the source code. I'm not that familiar with the
InitNG source code, but with C programing, and if someone would tell mehr
where the ifiles are parsed and where I can find the code for stopping
daemons, I would try to add this feature.
Greetings,
Eric MSP Veith
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2.2 (GNU/Linux)
iD8DBQFFmVVDMpEdE19y46cRAg1gAJ9IXYt4weJh8m/HWAeb0jWNP2BsIgCcCnqz
w4bFmkD+AGXS6rRpwASM64U=
=YUzO
-----END PGP SIGNATURE-----
More information about the Initng
mailing list