Bug #151

new -piffile feature does not work correctly

Added by Marc Dequènes 11 months ago. Updated 11 months ago.

Status:Resolved Start:2009-09-27
Priority:Normal Due date:2009-09-27
Assigned to:Romain Bignon % Done:

100%

Category:Core Spent time: 0.50 hour
Target version:1.0
libpurple: Branch:

Description

When the server start, the file is created, but the PID does not match. Later i connect, do things, then disconnect, and the file is deleted.

Seems the master server is run by a first fork, which trigger the pidfile code. Then later each process created by the daemon-fork riggers it again.

it should give the pid of the running master server, so that the init script knowns what happenened to the running server (has crashed, was asked to stop gently but is blocked, ...).

Associated revisions

Revision 4f31112e80b8ac914458990d21b8babbaa28033f
Added by Romain Bignon 11 months ago

fix #151 (correctly create and remove pid file)

History

Updated by Romain Bignon 11 months ago

  • Due date set to 2009-09-27
  • Status changed from New to Resolved
  • Target version set to 1.0
  • % Done changed from 0 to 100

Also available in: Atom PDF