[CentOS] Removing respawning process from inittab w/o killing it

Timo Schoeler

timo.schoeler at riscworks.net
Wed Nov 18 09:56:03 UTC 2009


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Hi list,

I need to remove an entry of inittab which is used to (re)spawn a process:

mydemon:2345:respawn:/usr/sbin/mydemon >/dev/null 2>&1

So, I would comment out that entry and reload init running ``telinit
q''. IIRC, this would lead to the currently running daemon being killed.
I don't want to /try/ whether I'm right, as those are production systems.

Is there any possibility (given that ``telinit q'' kills the running
process) to 'keep the process alive' _and_ reload init?

Thanks,

Timo

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (GNU/Linux)
Comment: Using GnuPG with CentOS - http://enigmail.mozdev.org

iD8DBQFLA8Syfg746kcGBOwRAjy1AKCPvwHnMVUwDN+6WDPjHebth7q1owCfUsp5
c7KoNas8jThxoP72c3JzK7Q=
=yWef
-----END PGP SIGNATURE-----



More information about the CentOS mailing list