From: Hemant Kumar Date: 2013-07-01T18:48:50+09:00 Subject: [ANN] Invoker - 0.1.1 release, A gem for managing processes in development environment --089e0141aa129676ef04e070097b Content-Type: text/plain; charset=ISO-8859-1 Hello Folks, Invoker is a gem for managing processes in development environment. You can install the gem via: ~> gem install invoker And you can clone the code from: http://github.com/code-mancers/invoker After Installing gem, you need to create a configuration file: [rails] directory = /home/gnufied/god_particle command = zsh -c 'bundle exec rails s -p 5000' [dj] directory = /home/gnufied/god_particle command = zsh -c 'bundle exec ruby script/delayed_job' [events] directory = /home/gnufied/god_particle command = zsh -c 'bundle exec ruby script/event_server' And then you can start invoker supervisor by running: ~> invoker start invoker.ini Now additionally you can control individual process by, # Will try to stop running delayed job by sending SIGINT to the process ~> invoker remove dj # If Process can't be killed by SIGINT send a custom signal ~> invoker remove dj -s 9 # add and start running ~> invoker add dj # List currently running processes managed by invoker ~> invoker list # Restart process given by command Label ~> invoker reload dj # Restart process given by command label using specific signal for killing ~> invoker reload dj -s 9 Changes: ## 0.1.1 - Added support for restarting a process - Added support for listing currently running processes. - Rewrote internals of Invoker to be more threadsafe. Fluff: - Introduction blog post ( http://crypt.codemancers.com/posts/2013-06-10-introducing-invoker/) --089e0141aa129676ef04e070097b Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable
Hello Folks,

Invoker is a gem for manag= ing processes in development environment. You can install the gem via:

=A0 =A0 ~> gem install invoker

And you can clone the code from:

http://github.com/code-mancers/invok= er

After Installing gem, you need to creat= e a configuration file:

=A0 =A0 [rails]
=A0 =A0 directory =3D /h= ome/gnufied/god_particle
=A0 =A0 command =3D zsh -c 'bundle e= xec rails s -p 5000'
=A0 =A0=A0
=A0 =A0 [dj]
<= div>=A0 =A0 directory =3D /home/gnufied/god_particle
=A0 =A0 command =3D zsh -c 'bundle exec ruby script/delayed_job= 9;
=A0 =A0=A0
=A0 =A0 [events]
=A0 =A0 direct= ory =3D /home/gnufied/god_particle
=A0 =A0 command =3D zsh -c = 9;bundle exec ruby script/event_server'

And then you can start invoker supervisor by runn= ing:

=A0 =A0 ~> invoker start invoker.ini

Now additionally you can control individual pr= ocess by,

=A0 =A0 # Will try to stop running delayed job by sendi= ng SIGINT to the process
=A0 =A0 ~> invoker remove dj

=A0 =A0 # If Process can't be killed by SIGINT send a = custom signal
=A0 =A0 ~> invoker remove dj -s 9

=A0 =A0 = # add and start running
=A0 =A0 ~> invoker add dj
= =A0 =A0=A0
=A0 =A0 # List currently running processes managed by = invoker
=A0 =A0 ~> invoker list

=A0 =A0 # Restart process given by command Label
<= div>=A0 =A0 ~> invoker reload dj

=A0 =A0 # Rest= art process given by command label using specific signal for killing
<= div>=A0 =A0 ~> invoker reload dj -s 9


Changes:

= ## 0.1.1=A0

- Added support for restarting a proce= ss
- Added support for listing currently running processes.
- Rewrote internals of Invoker to be more threadsafe.

Fluff:

- Introduction blog post (=A0h= ttp://crypt.codemancers.com/posts/2013-06-10-introducing-invoker/)

--089e0141aa129676ef04e070097b--