Respawn if the process dies in CentOS 6.9

Issues related to applications and software problems
Post Reply
kaushalshriyan
Posts: 8
Joined: 2017/05/18 13:45:41

Respawn if the process dies in CentOS 6.9

Post by kaushalshriyan » 2017/08/21 18:09:37

Hi,

How should I ensure the process will be respawned if in case the process dies. Is it using upstart or respawn a script in /etc/init or supervisor or monit in CentOS 6.9 ? Any pros and cons with the above methods?

Any help will be highly appreciable.

Regards,

Kaushal

kaushalshriyan
Posts: 8
Joined: 2017/05/18 13:45:41

Re: Respawn if the process dies in CentOS 6.9

Post by kaushalshriyan » 2017/08/23 17:28:53

Hi,

I will appreciate if somebody can pitch in for my post to this forum

Regards,

Kaushal

Whoever
Posts: 1357
Joined: 2013/09/06 03:12:10

Re: Respawn if the process dies in CentOS 6.9

Post by Whoever » 2017/08/24 03:20:50

Move to CentOS7, which uses systemd?

Are you actually having problems with processes dying?

You may not want to auto-start processes: it might be better to use something like nagios to monitor them and manually restart.

Post Reply