El 16/12/2012 23:21, Kieren Diment escribió:
The source of your confusion is that you probably want a way
> to stop and start it cleanly.  I've heard people like daemontools
> for that, although the wrong and filthy way to do it is to run the
> fastcgi script in a screen session.

I used to setup a daemontools service, but now i prefer to set it up as as service managed by upstart. Here is the template I use for the config file:

http://paste.scsys.co.uk/219238

That way you can start and stop your app with the usual commands:

# service mywebapp start
# service mywebapp stop

Hope it helps.

--
Miquel Ruiz

_______________________________________________
List: Catalyst@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/

Reply via email to