Is there an advantage to allowing multiple copies of the daemon to run, instead of having it do one of the following:<br><br>- Either kill previous instance(s) of the daemon and replace it with a new running instance, or<br>
- Abort the start of the new instance when a previous running instance is detected?<br><br><br><div class="gmail_quote">On Sun, Aug 26, 2012 at 12:51 PM, Paul Menzel <span dir="ltr"><<a href="mailto:paulepanter@users.sourceforge.net" target="_blank">paulepanter@users.sourceforge.net</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Dear Mike,<br>
<br>
<br>
as always, thank you for your fast response!<br>
<br>
<br>
Am Sonntag, den 26.08.2012, 21:31 +0200 schrieb Mike Gabriel:<br>
<div class="im"><br>
> On So 26 Aug 2012 15:15:40 CEST Paul Menzel wrote:<br>
><br>
> > Dear X2Go folks,<br>
> ><br>
> ><br>
> > while looking into sessions which are still active on the server after<br>
> > the client was suspended and could not reconnect after resume, I noticed<br>
> > that `/usr/sbin/x2gocleansessions` seems to not properly exit. It is<br>
> > somehow run in background and does not exit.<br>
> ><br>
> > $ /usr/sbin/x2gocleansessions --help<br>
> > $ echo $?<br>
> > 0<br>
> > $ /usr/sbin/x2gocleansessions --version<br>
> > $ echo $?<br>
> > 0<br>
> ><br>
> > They are still listed by `ps aux | grep x2go`.<br>
><br>
> X2Go clean sessions script is a daemon script. It should be possible<br>
> to execute multiple instances, but it should fork into background.<br>
> There is no --help and --version available, so these optioned commands<br>
> will just start another instance of the daemon.<br>
<br>
</div>Interesting, thank you for the explanation.<br>
<br>
Is there an advantage over letting the user to decide to start in the<br>
foreground or in the background by using the ampersand »&«?<br>
<br>
<br>
Thanks,<br>
<br>
Paul<br>
<br>_______________________________________________<br>
X2Go-Dev mailing list<br>
<a href="mailto:X2Go-Dev@lists.berlios.de">X2Go-Dev@lists.berlios.de</a><br>
<a href="https://lists.berlios.de/mailman/listinfo/x2go-dev" target="_blank">https://lists.berlios.de/mailman/listinfo/x2go-dev</a><br></blockquote></div><br>