[Catalyst] upstart script for Starman-based app?
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.
> List: Catalyst at lists.scsys.co.uk
> Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
> Searchable archive: http://firstname.lastname@example.org/
> 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.
More information about the Catalyst