Changes between Initial Version and Version 1 of Ticket #28, comment 2


Ignore:
Timestamp:
07/01/11 16:05:46 (13 years ago)
Author:
Antoine Martin
Comment:

Legend:

Unmodified
Added
Removed
Modified
  • Ticket #28, comment 2

    initial v1  
    11mostly done for:
    2  * [http://shifter.devloop.org.uk/trac/changeset/2598 r2598: VNC, NX, dbus]
    3  * [http://shifter.devloop.org.uk/trac/changeset/2585 r2585: RTP audio]
    4  * [http://shifter.devloop.org.uk/trac/changeset/2634 r2634: pulseaudio]
     2* r2598: VNC, NX, dbus
     3* r2585: RTP audio
     4* r2634: pulseaudio
    55
    66We use a wrapper which prints the pid, we then capture it from the server and store it. When reloading the pids, we ensure they are still valid (and not just another process re-using that pid number) by testing open file descriptors and checking for the log file. Not pretty but it works, we should eventually change that to use standard pid files (ala stop-start-daemon) fairly easily too.