« Return to Thread: restart daemon without loosing sessions?

Re: restart daemon without loosing sessions?

by Marco Passerini :: Rate this Message:

| View in Thread

Mm ok, so the reason for this is that I have a "production" server, with
several users using it every day, and they get annoyed if their sessions
(active or not) get lost.
I would like to make some changes to the node.conf file. Usually I have
been restarting the service with the init.d script after editing the
configuration file.
Can I tell the nxserver to reload the configuration file without having
to do /etc/init.d/freenx-server restart ?




On 2012-01-27 14:25, chris@... wrote:

> freenx-knx-bounces@... wrote on 27/01/2012 08:05:03:
>
>> Hi,
>>
>> Is there a way to restart the FreeNX daemon
> FreeNX has no daemon . . .
>
>> without loosing the existing sessions?
> The service script, (designed to be run
> only at system shutdown / startup)
>
> 1/  enables / disables NEW FreeNX sessions, by
> moveing the nx user's ssh key
> (used for the initial ssh connection) and
>
> 2/ runs "cleanup", both at start and stop
> which "terminates" any sessions still marked
> as running in
>          /var/lib/nxserver/db/running/
> ( but it doesn't pkill hanging nxagent instances !!! )
>
>> For some reason they don't seem to be persistent upon daemon
>> restart.
> Quite.
>
>> Thanks in advance!
>> Marco
> Why were you restarting it ???
>
>


________________________________________________________________
     Were you helped on this list with your FreeNX problem?
    Then please write up the solution in the FreeNX Wiki/FAQ:

http://openfacts2.berlios.de/wikien/index.php/BerliosProject:FreeNX_-_FAQ

         Don't forget to check the NX Knowledge Base:
                 http://www.nomachine.com/kb/

________________________________________________________________
       FreeNX-kNX mailing list --- FreeNX-kNX@...
      https://mail.kde.org/mailman/listinfo/freenx-knx
________________________________________________________________

 « Return to Thread: restart daemon without loosing sessions?