Removing respawning process from inittab w/o killing it

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



-----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-----
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux