[Dancer-users] run in production on shared hosting
Nicolas
me at eboxr.com
Fri Nov 11 22:13:20 CET 2011
Hi Nick, why not using nginx and plackup as you describe and use the -R
option provided by plackup to watch for example a restart.txt file
dedicated for each application.
Here is the script I use to start / stop plack for a single app. I think
managing more apps with this script should not be a problem
nicolas
2011/11/11 Nick Knutov <mail at knutov.com>
> Hello,
>
> what is the best way to run (a lot of) Dancer apps in production on shared
> hosting now?
>
> I'm the owner and main developer at small hosting company and want to
> create the environment that allows a lot of users to quick run a lot of
> Dancer apps.
>
> I read Dancer::Deployment but didn't decide anything - Ubic and
> daemontools don't looks good way (and Ubic at least requires access to
> /etc), CGI is slow.
> As for now I do manually something like
>
> plackup -E production -s Starman --workers=4 -l /home/$user/tmp/$app.sock
> -a bin/app.pl &
>
> (and I use nginx before app) but it is not easy to start/stop and monitor
> such apps.
>
> --
> Best Regards,
> Nick Knutov
> http://knutov.com
> ______________________________**_________________
> Dancer-users mailing list
> Dancer-users at perldancer.org
> http://www.backup-manager.org/**cgi-bin/listinfo/dancer-users<http://www.backup-manager.org/cgi-bin/listinfo/dancer-users>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.backup-manager.org/pipermail/dancer-users/attachments/20111111/229c1511/attachment.htm>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: starman
Type: application/octet-stream
Size: 2257 bytes
Desc: not available
URL: <http://www.backup-manager.org/pipermail/dancer-users/attachments/20111111/229c1511/attachment.obj>
More information about the Dancer-users
mailing list