<div dir="ltr">I would say having HUPONEXIT false would be the more exotic feature set in this case. tmux is actually a very good low rent low traffic short lifespan application deployment strategy ;).<br></div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Oct 27, 2015 at 6:21 PM, Octavian Rasnita <span dir="ltr"><<a href="mailto:orasnita@gmail.com" target="_blank">orasnita@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><u></u>
<div bgcolor="#ffffff">
<div><font face="Arial" size="2">Thanks. The conclusion is that if huponexit is set
to false we can simply run processes in background appending & at the end of
the command line.</font></div>
<div><font face="Arial" size="2">So we don't need tmux nor screen unless we need
other features offered by them.</font></div><span class="HOEnZb"><font color="#888888">
<div><font face="Arial" size="2"></font> </div>
<div><font face="Arial" size="2">--Octavian<br></font></div>
</font></span><blockquote style="PADDING-LEFT:5px;MARGIN-LEFT:5px;BORDER-LEFT:#000000 2px solid;PADDING-RIGHT:0px;MARGIN-RIGHT:0px"><span class="">
<div style="FONT:10pt arial">----- Original Message ----- </div>
<div style="BACKGROUND:#e4e4e4;FONT:10pt arial"><b>From:</b>
<a title="lasse@unity3d.com" href="mailto:lasse@unity3d.com" target="_blank">Lasse Makholm</a>
</div>
<div style="FONT:10pt arial"><b>To:</b> <a title="catalyst@lists.scsys.co.uk" href="mailto:catalyst@lists.scsys.co.uk" target="_blank">The elegant MVC web framework</a>
</div>
</span><div><div class="h5"><div style="FONT:10pt arial"><b>Sent:</b> Monday, October 26, 2015 11:37
PM</div>
<div style="FONT:10pt arial"><b>Subject:</b> Re: [Catalyst] Keep Plack -r
working when commandline closed...?</div>
<div><br></div>
<div dir="ltr"><br>
<div class="gmail_extra"><br>
<div class="gmail_quote">On Mon, Oct 26, 2015 at 9:55 AM, Octavian Rasnita <span dir="ltr"><<a href="mailto:orasnita@gmail.com" target="_blank">orasnita@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="PADDING-LEFT:1ex;MARGIN:0px 0px 0px 0.8ex;BORDER-LEFT:rgb(204,204,204) 1px solid"><u></u>
<div bgcolor="#ffffff">
<div><font face="Arial" size="2">When I connect to Linux servers using SSH and
run the programs using </font></div>
<div><font face="Arial" size="2">perl <a href="http://program.pl" target="_blank">program.pl</a> > something.log 2>&1
&</font></div>
<div><font face="Arial" size="2">then I can use the command exit to close the
SSH console but the program continues to run.</font></div>
<div><font face="Arial" size="2">I remember that in past I needed to use nohup,
but in last years I didn't need it anymore.</font></div>
<div><font face="Arial" size="2"></font> </div>
<div><font face="Arial" size="2">Is the SSH connection a special case but it
doesn't work when using a real bash console
directly?</font></div></div></blockquote>
<div><br></div>
<div>Sounds like the huponexit is not set in your shell:</div>
<div><a href="http://stackoverflow.com/questions/21294283/when-did-hup-stop-getting-sent-and-what-can-i-do-about-it" target="_blank">http://stackoverflow.com/questions/21294283/when-did-hup-stop-getting-sent-and-what-can-i-do-about-it</a></div>
<div><br></div>
<div>/L</div>
<div> </div>
<blockquote class="gmail_quote" style="PADDING-LEFT:1ex;MARGIN:0px 0px 0px 0.8ex;BORDER-LEFT:rgb(204,204,204) 1px solid">
<div bgcolor="#ffffff"><span><font color="#888888">
<div><font face="Arial" size="2"></font> </div>
<div>--Octavian<br></div></font></span>
<div>
<div>
<blockquote style="PADDING-LEFT:5px;MARGIN-LEFT:5px;BORDER-LEFT:rgb(0,0,0) 2px solid;PADDING-RIGHT:0px;MARGIN-RIGHT:0px">
<div style="FONT:10pt arial;font-stretch:normal">----- Original Message
----- </div>
<div style="BACKGROUND:rgb(228,228,228);FONT:10pt arial;font-stretch:normal"><b>From:</b>
<a title="lenjaffe@jaffesystems.com" href="mailto:lenjaffe@jaffesystems.com" target="_blank">Len Jaffe</a> </div>
<div style="FONT:10pt arial;font-stretch:normal"><b>To:</b> <a title="kieren@diment.org" href="mailto:kieren@diment.org" target="_blank">kieren@diment.org</a> ; <a title="catalyst@lists.scsys.co.uk" href="mailto:catalyst@lists.scsys.co.uk" target="_blank">The elegant MVC web
framework</a> </div>
<div style="FONT:10pt arial;font-stretch:normal"><b>Sent:</b> Monday,
October 26, 2015 5:13 AM</div>
<div style="FONT:10pt arial;font-stretch:normal"><b>Subject:</b> Re:
[Catalyst] Keep Plack -r working when commandline closed...?</div>
<div><font face="Arial" size="2"></font><br></div>
<div dir="ltr">& just backgrounds a job. If you close the terminal, you
lose job control.
<div>If you use tmux, you can close the terminal, but leave the session
running, and reattach to the session later. </div>
<div><br></div>
<div>It is well work looking into.</div></div>
<div class="gmail_extra"><br>
<div class="gmail_quote">On Sat, Oct 24, 2015 at 1:29 AM, Kieren Diment
<span dir="ltr"><<a href="mailto:diment@gmail.com" target="_blank">diment@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="PADDING-LEFT:1ex;MARGIN:0px 0px 0px 0.8ex;BORDER-LEFT:rgb(204,204,204) 1px solid">
<div dir="ltr">Tmux is the poor man's deployment pathway ;). I use
it to keep long running jobs going between logins a lot too, as well as
for having an editor in the right place from where I last left
off. All round a primo useful tool. Also handy for
persistent IRC connections etc.<br></div>
<div>
<div>
<div class="gmail_extra"><br>
<div class="gmail_quote">On Sat, Oct 24, 2015 at 3:24 PM, Andrew <span dir="ltr"><<a href="mailto:catalystgroup@unitedgames.co.uk" target="_blank">catalystgroup@unitedgames.co.uk</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="PADDING-LEFT:1ex;MARGIN:0px 0px 0px 0.8ex;BORDER-LEFT:rgb(204,204,204) 1px solid"><u></u>
<div bgcolor="#ffffff">
<div><font size="2">A further search online,</font></div>
<div><font size="2">throws up that screen and tmux can be useful if the
app you want to run in the background needs input now and
again.</font></div>
<div><font size="2"></font> </div>
<blockquote style="PADDING-LEFT:5px;MARGIN-LEFT:5px;BORDER-LEFT:rgb(0,0,0) 2px solid;PADDING-RIGHT:0px;MARGIN-RIGHT:0px"><span>
<div style="FONT:10pt arial;font-stretch:normal">----- Original
Message ----- </div>
<div style="BACKGROUND:rgb(228,228,228);FONT:10pt arial;font-stretch:normal"><b>From:</b>
<a title="catalystgroup@unitedgames.co.uk" href="mailto:catalystgroup@unitedgames.co.uk" target="_blank">Andrew</a> </div>
<div style="FONT:10pt arial;font-stretch:normal"><b>To:</b> <a title="catalyst@lists.scsys.co.uk" href="mailto:catalyst@lists.scsys.co.uk" target="_blank">The elegant
MVC web framework</a> </div></span>
<div>
<div>
<div style="FONT:10pt arial;font-stretch:normal"><b>Sent:</b>
Saturday, October 24, 2015 5:06 AM</div>
<div style="FONT:10pt arial;font-stretch:normal"><b>Subject:</b>
Re: [Catalyst] Keep Plack -r working when commandline
closed...?</div>
<div><br></div>
<div><font size="2"></font> </div>
<div><font size="2">Why is it better to use these over using an
"&"....?</font></div>
<div><font size="2"></font> </div>
<div><font size="2">Or are you simply recommending them generally, due
to their usefulness all round?</font></div>
<div><font size="2"></font> </div>
<div><font size="2">Yours,</font></div>
<div><font size="2">Andrew.</font></div>
<div><font size="2"></font> </div>
<blockquote style="PADDING-LEFT:5px;MARGIN-LEFT:5px;BORDER-LEFT:rgb(0,0,0) 2px solid;PADDING-RIGHT:0px;MARGIN-RIGHT:0px">
<div style="FONT:10pt arial;font-stretch:normal">----- Original
Message ----- </div>
<div style="BACKGROUND:rgb(228,228,228);FONT:10pt arial;font-stretch:normal"><b>From:</b>
<a title="diment@gmail.com" href="mailto:diment@gmail.com" target="_blank">Kieren Diment</a> </div>
<div style="FONT:10pt arial;font-stretch:normal"><b>To:</b> <a title="catalyst@lists.scsys.co.uk" href="mailto:catalyst@lists.scsys.co.uk" target="_blank">The elegant
MVC web framework</a> </div>
<div style="FONT:10pt arial;font-stretch:normal"><b>Sent:</b>
Friday, October 23, 2015 10:48 PM</div>
<div style="FONT:10pt arial;font-stretch:normal"><b>Subject:</b> Re:
[Catalyst] Keep Plack -r working when commandline closed...?</div>
<div><font size="2"></font><font size="2"></font><br></div>
<div dir="ltr">Tmux is generally newer and easier to use than
screen, highly recommended.<br></div>
<div class="gmail_extra"><font size="2"></font><font size="2"></font><font size="2"></font><br>
<div class="gmail_quote">On Sat, Oct 24, 2015 at 7:41 AM, Len Jaffe
<span dir="ltr"><<a href="mailto:lenjaffe@jaffesystems.com" target="_blank">lenjaffe@jaffesystems.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="PADDING-LEFT:1ex;MARGIN:0px 0px 0px 0.8ex;BORDER-LEFT:rgb(204,204,204) 1px solid">
<div dir="ltr">I'd still consider using screen or tmux...</div>
<div class="gmail_extra">
<div>
<div><font size="2"></font><font size="2"></font><font size="2"></font><font size="2"></font><br>
<div class="gmail_quote">On Fri, Oct 23, 2015 at 1:48 PM, Andrew
<span dir="ltr"><<a href="mailto:catalystgroup@unitedgames.co.uk" target="_blank">catalystgroup@unitedgames.co.uk</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="PADDING-LEFT:1ex;MARGIN:0px 0px 0px 0.8ex;BORDER-LEFT:rgb(204,204,204) 1px solid">Turns
out it's super easy to run it in the background,
=).<br><br>You just add "&" to the end of the commandline,
=D.<br><br>^_^ Am learning these little server tricks,
;-).<br><br>[Tweeted Tatsuhiko Miyagawa of Plack fame, who was
kind enough to promptly<br>respond, with this little gem, =D.
Yay!]<br><br>Yours,<br>Andrew.<br><span><br><br>----- Original
Message -----<br>From: "Trevor Leffler" <<a href="mailto:tleffler@uw.edu" target="_blank">tleffler@uw.edu</a>><br>To: "The elegant MVC
web framework" <<a href="mailto:catalyst@lists.scsys.co.uk" target="_blank">catalyst@lists.scsys.co.uk</a>><br>Sent:
Friday, October 23, 2015 4:28 PM<br>Subject: Re: [Catalyst]
Keep Plack -r working when commandline
closed...?<br><br><br></span>
<div>
<div>What about wrapping your shell session with
screen?<br><br>$ man screen<br><br>--Trevor<br><br>On
10/23/2015 08:21 AM, Andrew wrote:<br>><br>> I've ended
up using Plackup to start the catalyst app's psgi script
(still<br>> via fast cgi),<br>> and I'm using -r to
indicate it should watch for changes, and reload the<br>>
server when changes are detected.<br>><br>> It does this
fine, as long as my commandline terminal is still
open.<br>> The moment I close it, the server continues to
run, yet any watching for<br>> changes, killing, and
restarting no longer happens (as far as I can
tell).<br>><br>> Is there any way to get Plack's scripts
that watch and reload (i.e.<br>> Restarter.pm, etc), to
continue to run after I close OSX's terminal
window<br>/<br>> end the SSH
session?<br>><br>><br>> Many thanks for any insights
offered,<br>><br>> Yours,<br>>
Andrew.<br>><br>><br>>
_______________________________________________<br>> List:
<a href="mailto:Catalyst@lists.scsys.co.uk" target="_blank">Catalyst@lists.scsys.co.uk</a><br>> Listinfo:
<a href="http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst" rel="noreferrer" target="_blank">http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst</a><br>>
Searchable archive:<br><a href="http://www.mail-archive.com/catalyst@lists.scsys.co.uk/" rel="noreferrer" target="_blank">http://www.mail-archive.com/catalyst@lists.scsys.co.uk/</a><br>>
Dev site: <a href="http://dev.catalyst.perl.org/" rel="noreferrer" target="_blank">http://dev.catalyst.perl.org/</a><br>><br><br>_______________________________________________<br>List:
<a href="mailto:Catalyst@lists.scsys.co.uk" target="_blank">Catalyst@lists.scsys.co.uk</a><br>Listinfo: <a href="http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst" rel="noreferrer" target="_blank">http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst</a><br>Searchable
archive: <a href="http://www.mail-archive.com/catalyst@lists.scsys.co.uk/" rel="noreferrer" target="_blank">http://www.mail-archive.com/catalyst@lists.scsys.co.uk/</a><br>Dev
site: <a href="http://dev.catalyst.perl.org/" rel="noreferrer" target="_blank">http://dev.catalyst.perl.org/</a><br><br><br>_______________________________________________<br>List:
<a href="mailto:Catalyst@lists.scsys.co.uk" target="_blank">Catalyst@lists.scsys.co.uk</a><br>Listinfo: <a href="http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst" rel="noreferrer" target="_blank">http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst</a><br>Searchable
archive: <a href="http://www.mail-archive.com/catalyst@lists.scsys.co.uk/" rel="noreferrer" target="_blank">http://www.mail-archive.com/catalyst@lists.scsys.co.uk/</a><br>Dev
site: <a href="http://dev.catalyst.perl.org/" rel="noreferrer" target="_blank">http://dev.catalyst.perl.org/</a><br></div></div></blockquote></div><br><br clear="all">
<div><br></div></div></div><span><font color="#888888">-- <br>
<div>
<div dir="ltr">
<div>
<div dir="ltr">
<div>
<div dir="ltr">
<div>Len Jaffe - Information Technology Smoke Jumper - <a href="mailto:lenjaffe@jaffesystems.com" target="_blank">lenjaffe@jaffesystems.com</a> </div>
<div><a href="tel:614-404-4214" value="+16144044214" target="_blank">614-404-4214</a> <a href="https://www.twitter.com/lenJaffe" target="_blank">@LenJaffe</a> <a href="http://www.lenjaffe.com/" target="_blank">www.lenjaffe.com</a><br></div>
<div>Host of <a href="http://www.meetup.com/techlifecolumbus/" target="_blank">Code Jam Columbus</a> - <a href="https://www.twitter.com/CodeJamCMH" target="_blank">@CodeJamCMH</a></div>
<div>
<div>Curator of <a href="http://www.lenjaffe.com/AdventPlanet/" target="_blank">Advent Planet</a> - An Aggregation of Online
Advent Calendars.
<div><br></div></div></div></div></div></div></div></div></div></font></span></div><br>_______________________________________________<br>List:
<a href="mailto:Catalyst@lists.scsys.co.uk" target="_blank">Catalyst@lists.scsys.co.uk</a><br>Listinfo: <a href="http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst" rel="noreferrer" target="_blank">http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst</a><br>Searchable
archive: <a href="http://www.mail-archive.com/catalyst@lists.scsys.co.uk/" rel="noreferrer" target="_blank">http://www.mail-archive.com/catalyst@lists.scsys.co.uk/</a><br>Dev
site: <a href="http://dev.catalyst.perl.org/" rel="noreferrer" target="_blank">http://dev.catalyst.perl.org/</a><br><br></blockquote></div><br></div>
<p></p>
<hr>
<p></p>_______________________________________________<br>List: <a href="mailto:Catalyst@lists.scsys.co.uk" target="_blank">Catalyst@lists.scsys.co.uk</a><br>Listinfo: <a href="http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst" target="_blank">http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst</a><br>Searchable
archive: <a href="http://www.mail-archive.com/catalyst@lists.scsys.co.uk/" target="_blank">http://www.mail-archive.com/catalyst@lists.scsys.co.uk/</a><br>Dev
site: <a href="http://dev.catalyst.perl.org/" target="_blank">http://dev.catalyst.perl.org/</a><br>
<p></p></blockquote>
<p></p>
<hr>
<p></p>_______________________________________________<br>List: <a href="mailto:Catalyst@lists.scsys.co.uk" target="_blank">Catalyst@lists.scsys.co.uk</a><br>Listinfo: <a href="http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst" target="_blank">http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst</a><br>Searchable
archive: <a href="http://www.mail-archive.com/catalyst@lists.scsys.co.uk/" target="_blank">http://www.mail-archive.com/catalyst@lists.scsys.co.uk/</a><br>Dev
site: <a href="http://dev.catalyst.perl.org/" target="_blank">http://dev.catalyst.perl.org/</a><br>
<p></p></div></div></blockquote></div><br>_______________________________________________<br>List:
<a href="mailto:Catalyst@lists.scsys.co.uk" target="_blank">Catalyst@lists.scsys.co.uk</a><br>Listinfo: <a href="http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst" rel="noreferrer" target="_blank">http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst</a><br>Searchable
archive: <a href="http://www.mail-archive.com/catalyst@lists.scsys.co.uk/" rel="noreferrer" target="_blank">http://www.mail-archive.com/catalyst@lists.scsys.co.uk/</a><br>Dev
site: <a href="http://dev.catalyst.perl.org/" rel="noreferrer" target="_blank">http://dev.catalyst.perl.org/</a><br><br></blockquote></div><br></div></div></div><br>_______________________________________________<br>List:
<a href="mailto:Catalyst@lists.scsys.co.uk" target="_blank">Catalyst@lists.scsys.co.uk</a><br>Listinfo: <a href="http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst" rel="noreferrer" target="_blank">http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst</a><br>Searchable
archive: <a href="http://www.mail-archive.com/catalyst@lists.scsys.co.uk/" rel="noreferrer" target="_blank">http://www.mail-archive.com/catalyst@lists.scsys.co.uk/</a><br>Dev
site: <a href="http://dev.catalyst.perl.org/" rel="noreferrer" target="_blank">http://dev.catalyst.perl.org/</a><br><br></blockquote></div><br><br clear="all">
<div><br></div>-- <br>
<div>
<div dir="ltr">
<div>
<div dir="ltr">
<div>
<div dir="ltr">
<div>Len Jaffe - Information Technology Smoke Jumper - <a href="mailto:lenjaffe@jaffesystems.com" target="_blank">lenjaffe@jaffesystems.com</a> </div>
<div><a href="tel:614-404-4214" value="+16144044214" target="_blank">614-404-4214</a> <a href="https://www.twitter.com/lenJaffe" target="_blank">@LenJaffe</a>
<a href="http://www.lenjaffe.com/" target="_blank">www.lenjaffe.com</a><br></div>
<div>Host of <a href="http://www.meetup.com/techlifecolumbus/" target="_blank">Code Jam Columbus</a> - <a href="https://www.twitter.com/CodeJamCMH" target="_blank">@CodeJamCMH</a></div>
<div>
<div>Curator of <a href="http://www.lenjaffe.com/AdventPlanet/" target="_blank">Advent Planet</a> - An Aggregation of Online Advent
Calendars.
<div><br></div></div></div></div></div></div></div></div></div></div>
<p></p>
<hr>
<p></p>_______________________________________________<br>List: <a href="mailto:Catalyst@lists.scsys.co.uk" target="_blank">Catalyst@lists.scsys.co.uk</a><br>Listinfo: <a href="http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst" target="_blank">http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst</a><br>Searchable
archive: <a href="http://www.mail-archive.com/catalyst@lists.scsys.co.uk/" target="_blank">http://www.mail-archive.com/catalyst@lists.scsys.co.uk/</a><br>Dev
site: <a href="http://dev.catalyst.perl.org/" target="_blank">http://dev.catalyst.perl.org/</a><br>
<p></p></blockquote></div></div></div><br>_______________________________________________<br>List:
<a href="mailto:Catalyst@lists.scsys.co.uk" target="_blank">Catalyst@lists.scsys.co.uk</a><br>Listinfo:
<a href="http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst" rel="noreferrer" target="_blank">http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst</a><br>Searchable
archive: <a href="http://www.mail-archive.com/catalyst@lists.scsys.co.uk/" rel="noreferrer" target="_blank">http://www.mail-archive.com/catalyst@lists.scsys.co.uk/</a><br>Dev
site: <a href="http://dev.catalyst.perl.org/" rel="noreferrer" target="_blank">http://dev.catalyst.perl.org/</a><br><br></blockquote></div><br></div></div>
<p>
</p><hr>
<p></p>_______________________________________________<br>List:
<a href="mailto:Catalyst@lists.scsys.co.uk" target="_blank">Catalyst@lists.scsys.co.uk</a><br>Listinfo:
<a href="http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst" target="_blank">http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst</a><br>Searchable
archive: <a href="http://www.mail-archive.com/catalyst@lists.scsys.co.uk/" target="_blank">http://www.mail-archive.com/catalyst@lists.scsys.co.uk/</a><br>Dev site:
<a href="http://dev.catalyst.perl.org/" target="_blank">http://dev.catalyst.perl.org/</a><br><p></p></div></div></blockquote></div>
<br>_______________________________________________<br>
List: <a href="mailto:Catalyst@lists.scsys.co.uk">Catalyst@lists.scsys.co.uk</a><br>
Listinfo: <a href="http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst" rel="noreferrer" target="_blank">http://lists.scsys.co.uk/cgi-bin/mailman/listinfo/catalyst</a><br>
Searchable archive: <a href="http://www.mail-archive.com/catalyst@lists.scsys.co.uk/" rel="noreferrer" target="_blank">http://www.mail-archive.com/catalyst@lists.scsys.co.uk/</a><br>
Dev site: <a href="http://dev.catalyst.perl.org/" rel="noreferrer" target="_blank">http://dev.catalyst.perl.org/</a><br>
<br></blockquote></div><br></div>