# Service controller in ruby

**URL:** <https://www.ruby-forum.com/t/service-controller-in-ruby/124742>\
**Category:** Ruby\
**Created:** [January 2, 2008, 2:45am UTC](https://www.ruby-forum.com/t/service-controller-in-ruby/124742 "2008-01-02T02:45:32Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Junkone](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/e274bd/32.png) [@Junkone](https://www.ruby-forum.com/u/Junkone)\
**Post date:** [January 2, 2008, 2:45am UTC](https://www.ruby-forum.com/t/service-controller-in-ruby/124742/1 "2008-01-02T02:45:32Z")

</div>

hello  
i have 4 ruby programs that i want to keep running. is there a service  
controller or something like that in ruby which can monitor these  
programs and capture errors, pause, stop etc.

seede

---

<div class="post-metadata">

**Author:** ![Junkone](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/e274bd/32.png) [@Junkone](https://www.ruby-forum.com/u/Junkone)\
**Post date:** [January 2, 2008, 2:57am UTC](https://www.ruby-forum.com/t/service-controller-in-ruby/124742/2 "2008-01-02T02:57:14Z")

</div>

Junkone wrote:

> hello  
> i have 4 ruby programs that i want to keep running. is there a service  
> controller or something like that in ruby which can monitor these  
> programs and capture errors, pause, stop etc.

See win32-service, available on RubyForge at  
[http://www.rubyforge.org/projects/win32utils](http://www.rubyforge.org/projects/win32utils).

I need to fix the gem, but you can download and install the source  
manually if you have a compiler. I’ll have 0.6.1 out tonight hopefully,  
with a fixed gem, including one with a precompiled binary.

Regards,

Dan

---

<div class="post-metadata">

**Author:** ![Junkone](https://www.ruby-forum.com/letter_avatar_proxy/v4/letter/j/e274bd/32.png) [@Junkone](https://www.ruby-forum.com/u/Junkone)\
**Post date:** [January 2, 2008, 10:51pm UTC](https://www.ruby-forum.com/t/service-controller-in-ruby/124742/3 "2008-01-02T22:51:49Z")

</div>

> Junkone wrote:
> 
> > hello  
> > i have 4 ruby programs that i want to keep running. is there a  
> > service  
> > controller or something like that in ruby which can monitor these  
> > programs and capture errors, pause, stop etc.

Also see god:

gem install god

although i think it’s unix-only
