<div dir="ltr">> I've found this is a good gentle starting point for Starman,<br>
<a href="http://perlmaven.com/getting-started-with-perl-dancer-on-digital-ocean" rel="noreferrer" target="_blank">> http://perlmaven.com/getting-started-with-perl-dancer-on-digital-ocean</a><br><br>Maybe it could be simpler, this works for us with Ubuntu Upstart, sysv init.d would be similar in intent:<br><div><br>$ more /etc/apache2/sites-available/carillon.conf <br><VirtualHost *:80><br> ServerName <a href="http://example.ca" target="_blank">example.ca</a><br><br> ServerAdmin <a href="mailto:webmaster@example.ca" target="_blank">webmaster@example.ca</a><br><br> # Possible values include: debug, info, notice, warn, error, crit,<br> # alert, emerg.<br> LogLevel warn<br> ErrorLog ${APACHE_LOG_DIR}/error.log<br> CustomLog ${APACHE_LOG_DIR}/access.log combined<br><br> # Send everything else to (Dancer2)<br> ProxyPass / <a href="http://127.0.0.1:5018/" target="_blank">http://127.0.0.1:5018/</a><br> ProxyPassReverse / <a href="http://127.0.0.1:5018/" target="_blank">http://127.0.0.1:5018/</a><br></VirtualHost><br><br>$ more /etc/init/example.conf<br><pre>description "Ex service (directory, etc)"
# Start when we get the 'filesystem' event, presumably once the file
# systems are mounted. Stop when shutting down.
start on filesystem
stop on runlevel S
respawn
respawn limit 10 5
umask 022
env PERL5LIB=/opt/example/lib
chdir /opt/example
setuid examp
exec /opt/example/bin/starman -E production bin/app.psgi --port 5018 --host 127.0.0.1 --workers 8
</pre><br></div><div class="gmail_extra">On Wed, Nov 4, 2015 at 7:00 AM, <span dir="ltr"><<a href="mailto:dancer-users-request@dancer.pm" target="_blank">dancer-users-request@dancer.pm</a>></span> wrote:<br><div class="gmail_quote"><br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
goal. For me, the next cliff is the leap to Starman deployments.<br>
It's yet another layer to learn and control for a deployment.<br>
<br>
John<br><br></blockquote></div><br clear="all"></div><div class="gmail_extra">Cheers<br></div><div class="gmail_extra">-- <br><div><div dir="ltr">Rick <br></div></div>
</div></div>