Linux.com

jaymz

jaymz

  • Linux.com Member
  • Posts: 2
  • Member Since: 21 Apr 09
  • Last Logged In: 20 Oct 10

Latest Posts

Posted by
Topic
Post Preview
Posted
  • jaymz
    RE: Good watchdog for services?
    In my case, I was hosting Ventrilo for my WoW guild. It would die occasionally, so I wrote a script that did pgrep vent_srv, and if that returned 1 then I restarted it.
    Link to this post 22 Apr 09

    In my case, I was hosting Ventrilo for my WoW guild. It would die occasionally, so I wrote a script that did pgrep vent_srv, and if that returned 1 then I restarted it.

  • jaymz
    RE: Good watchdog for services?
    I wrote a similar script a few years ago that used pgrep. If pgrep returned any value besides 1 (I don't think one would use this for init) then it would exit, otherwise, restart the service.
    Link to this post 22 Apr 09

    I wrote a similar script a few years ago that used pgrep. If pgrep returned any value besides 1 (I don't think one would use this for init) then it would exit, otherwise, restart the service.

Who we are ?

The Linux Foundation is a non-profit consortium dedicated to the growth of Linux.

More About the foundation...

Frequent Questions

Join / Linux Training / Board