Re: Removing respawning process from inittab w/o killing it

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



On Wed, 2009-11-18 at 10:56 +0100, Timo Schoeler wrote:
> -----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?

If I understand what "man telinit" intends, it looks like the "-u" or
"-U" might do what you want.

Test it on some local desktop system since you can't test on your
production?

-- 
Bill

_______________________________________________
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