[Catalyst] upstart script for Starman-based app?

Jack Downes jdownes at krmc.org
Wed May 9 15:31:17 GMT 2012

I do something similar with FreeBSD.  My install consists of a local
install of perl, cat, dbic, etc to get my app running.  I use nginx from
system configured as a proxy.  Now, I see a lot of people using Starman
with nginx and you are asking for Starman, so that's doable...  Anyway I
use nginx to proxy to the fastcgi process... I'm pretty sure this isn't
starman, but then, I don't know for sure.

My point in this is that I have not written rc scripts for my catalyst
app, and probably won't.  There exists another way which, for me as a
standard user on this system is pretty much perfect

I use @reboot in the crontab.  Perhaps this will work for you as well?
It's quite simple... perhaps overly so.

Jack Downes
751 4118
-- Discipline is remembering what you want. --
-----Original Message-----
From: Todd Lyons [mailto:tlyons at ivenue.com] 
Sent: Sunday, May 06, 2012 9:59 AM
To: The elegant MVC web framework
Subject: Re: [Catalyst] upstart script for Starman-based app?

On Thu, May 3, 2012 at 12:24 AM, Octavian Rasnita <orasnita at gmail.com>
> 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.

What follows is for starting a python app as an unprivileged user with
upstart, I don't think it would be too difficult to adjust it for your
starman based app:


Follow the link in the first answer for the authoritative confirming
response from the upstart guys:

Always code as if the guy who ends up maintaining your code will be a
violent psychopath who knows where you live. -- Martin Golding

List: Catalyst at lists.scsys.co.uk
Listinfo: http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst
Searchable archive:
Dev site: http://dev.catalyst.perl.org/

More information about the Catalyst mailing list