[Catalyst] upstart script for Starman-based app?

Christiaan Kras c.kras at pcc-online.net
Thu May 3 18:55:27 GMT 2012


Op 3-5-2012 9:24, Octavian Rasnita schreef:
> Hi all,
>
> Does anyone have an upstart script that can be used for automaticly starting a Cat app using Starman?
>
> I use Perlbrew and local::lib and I start the app in my own account and not as root and I don't know how to make upstart start the app under my account.
> Maybe it will be helpful to see an upstart script that works, and try to adapt it.
>
> Thanks.
>
> --Octavian
>
>
> _______________________________________________
> List: Catalyst at lists.scsys.co.uk
> Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
> Searchable archive: http://www.mail-archive.com/catalyst@lists.scsys.co.uk/
> Dev site: http://dev.catalyst.perl.org/

I've started using Daemon::Control 
(https://metacpan.org/module/Daemon::Control) for my init.d scripts and 
this module makes it very bearable. I haven't used it for Starman yet, 
but for Plackup it worked just fine.

-- 
Christiaan Kras
http://blog.htbaa.com



More information about the Catalyst mailing list