Re: [Catalyst] upstart script for Starman-based app?

2012-05-16 Thread Dimitar Petrov
There was an article about Starman and Apache into the last year Advent Calendar. Here is the link: http://www.catalystframework.org/calendar/2011/16 Cheers On Tue, May 15, 2012 at 3:20 PM, Bill Moseley mose...@hank.org wrote: On Thu, May 3, 2012 at 2:24 AM, Octavian Rasnita

RE: [Catalyst] upstart script for Starman-based app? Errata to Starman-apache article

2012-05-16 Thread John Karr
: [Catalyst] upstart script for Starman-based app? There was an article about Starman and Apache into the last year Advent Calendar. Here is the link: http://www.catalystframework.org/calendar/2011/16 Cheers On Tue, May 15, 2012 at 3:20 PM, Bill Moseley mose...@hank.org wrote: On Thu, May 3

Re: [Catalyst] upstart script for Starman-based app?

2012-05-16 Thread Octavian Rasnita
From: Bill Moseley Subject: Re: [Catalyst] upstart script for Starman-based app? On Thu, May 3, 2012 at 2:24 AM, Octavian Rasnita orasn...@gmail.com wrote: Hi all, Does anyone have an upstart script that can be used for automaticly starting a Cat app using Starman? I use

RE: [Catalyst] upstart script for Starman-based app?

2012-05-09 Thread Jack Downes
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 orasn...@gmail.com wrote: Does anyone have an upstart script that can be used for automaticly starting a Cat app using Starman? I use Perlbrew

Re: [Catalyst] upstart script for Starman-based app?

2012-05-09 Thread Octavian Rasnita
From: Jack Downes jdow...@krmc.org Subject: RE: [Catalyst] upstart script for Starman-based app? 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

Re: [Catalyst] upstart script for Starman-based app?

2012-05-07 Thread Dave Rolsky
On Mon, 7 May 2012, Octavian Rasnita wrote: With Starman, the parent stays active, and it's what should be killed when you want to stop the process. I see that this is not happening, at least if starman receives the --user and --group parameters. I have use --user teddy --group teddy in the

Re: [Catalyst] upstart script for Starman-based app?

2012-05-06 Thread Octavian Rasnita
From: Todd Lyons tly...@ivenue.com Subject: Re: [Catalyst] upstart script for Starman-based app? On Thu, May 3, 2012 at 12:24 AM, Octavian Rasnita orasn...@gmail.com wrote: Does anyone have an upstart script that can be used for automaticly starting a Cat app using Starman? I use Perlbrew

Re: [Catalyst] upstart script for Starman-based app?

2012-05-06 Thread Dave Rolsky
On Fri, 4 May 2012, Octavian Rasnita wrote: expect fork I'm not sure why you need this. There's no fork happening with your config, AFAICT. But isn't Starman doing a fork? Yes, but the expect fork is telling upstart to expect the process to fork once and create a single child, letting

Re: [Catalyst] upstart script for Starman-based app?

2012-05-06 Thread Octavian Rasnita
From: Dave Rolsky auta...@urth.org Subject: Re: [Catalyst] upstart script for Starman-based app? On Fri, 4 May 2012, Octavian Rasnita wrote: expect fork I'm not sure why you need this. There's no fork happening with your config, AFAICT. But isn't Starman doing a fork? Yes

Re: [Catalyst] upstart script for Starman-based app?

2012-05-04 Thread Octavian Rasnita
From: Dave Rolsky auta...@urth.org Subject: Re: [Catalyst] upstart script for Starman-based app? On Thu, 3 May 2012, Octavian Rasnita wrote: 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

Re: [Catalyst] upstart script for Starman-based app?

2012-05-04 Thread Octavian Rasnita
From: Dave Rolsky auta...@urth.org Subject: Re: [Catalyst] upstart script for Starman-based app? On Fri, 4 May 2012, Octavian Rasnita wrote: expect fork I'm not sure why you need this. There's no fork happening with your config, AFAICT. But isn't Starman doing a fork? To be honest, I

RE: [Catalyst] upstart script for Starman-based app?

2012-05-03 Thread Morad IGMIR
I'm currently using CatalystX::Script::Server::Starman to do just this, it works fine so far, and you don't need to adapt your script, just use myapp_server.pl https://metacpan.org/module/CatalystX::Script::Server::Starman -Message d'origine- De : Octavian Rasnita

Re: [Catalyst] upstart script for Starman-based app?

2012-05-03 Thread Octavian Rasnita
From: Morad IGMIR mig...@alliancemca.com Subject: RE: [Catalyst] upstart script for Starman-based app? I'm currently using CatalystX::Script::Server::Starman to do just this, it works fine so far, and you don't need to adapt your script, just use myapp_server.pl https://metacpan.org/module

RE: [Catalyst] upstart script for Starman-based app?

2012-05-03 Thread Morad IGMIR
|status} exit 1 ;; esac exit 0 -Message d'origine- De : Octavian Rasnita [mailto:orasn...@gmail.com] Envoyé : jeudi 3 mai 2012 11:47 À : The elegant MVC web framework Objet : Re: [Catalyst] upstart script for Starman-based app? From: Morad IGMIR mig

Re: [Catalyst] upstart script for Starman-based app?

2012-05-03 Thread Tomas Doran
On 3 May 2012, at 08:24, Octavian Rasnita wrote: 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

Re: [Catalyst] upstart script for Starman-based app?

2012-05-03 Thread Octavian Rasnita
From: Tomas Doran bobtf...@bobtfish.net Subject: Re: [Catalyst] upstart script for Starman-based app? On 3 May 2012, at 08:24, Octavian Rasnita wrote: 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

Re: [Catalyst] upstart script for Starman-based app?

2012-05-03 Thread Octavian Rasnita
From: Morad IGMIR mig...@alliancemca.com Subject: RE: [Catalyst] upstart script for Starman-based app? So you're looking for an /etc/init.d/ init script ? Thank you for your script. I hope I will be able to use an upstart script, because upstart requires much less code and it is more

Re: [Catalyst] upstart script for Starman-based app?

2012-05-03 Thread Eden Cardim
Octavian == Octavian Rasnita orasn...@gmail.com writes: Octavian Thanks. I know about it, but it doesn't solve what I want... to Octavian start the web server automaticly when the computer starts after Octavian MySQL was started. Note that if you'd using

Re: [Catalyst] upstart script for Starman-based app?

2012-05-03 Thread Christiaan Kras
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

Re: [Catalyst] upstart script for Starman-based app?

2012-05-03 Thread Dave Rolsky
On Thu, 3 May 2012, Octavian Rasnita wrote: 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