[Dancer-users] many dancer apps with Starman (part 3)

Stefan Hornburg (Racke) racke at linuxia.de
Thu Jul 14 11:09:49 CEST 2011


On 07/12/2011 10:26 AM, sawyer x wrote:
> On Tue, Jul 12, 2011 at 11:19 AM, franck<franck at lumberjaph.net>  wrote:
>
>>
>>>>> 2. It will become very cumbersome shutting off or restarting one or
>>> more Starman app because I would have to find out the parent process of each
>>> app, and kill that in order to kill all the child
>>>> workers; and
>>>
>>
>> another solution: use something like runit[1]. You create a configuration
>> for each "service" (your applications) with runit. When you want to restart
>> this application you can ask runit to restart this service, and you don't
>> have to think about the process. This is the solution I use, I can post more
>> details if needed.
>>
>> [1] http://smarden.org/runit/
>>
>
> There is also Ubic: https://github.com/berekuk/Ubic

And I wrote a init script for starting Dancer applications with plackup/starman.
It is attached.

Regards
	Racke

-- 
LinuXia Systems => http://www.linuxia.de/
Expert Interchange Consulting and System Administration
ICDEVGROUP => http://www.icdevgroup.org/
Interchange Development Team

-------------- next part --------------
A non-text attachment was scrubbed...
Name: init.sh
Type: application/x-shellscript
Size: 3748 bytes
Desc: not available
URL: <http://www.backup-manager.org/pipermail/dancer-users/attachments/20110714/4c9bac67/attachment.bin>


More information about the Dancer-users mailing list