Bug #151
new -piffile feature does not work correctly
| Status: | Closed | Start: | 2009-09-27 | |
|---|---|---|---|---|
| Priority: | Normal | Due date: | 2009-09-27 | |
| Assigned to: | % Done: | 100% |
||
| Category: | Core | Spent time: | 0.50 hour | |
| Target version: | 1.0 | |||
| libpurple: |
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
fix #151 (correctly create and remove pid file)
History
Updated by Romain Bignon 6 months ago
- Due date set to 2009-09-27
- Status changed from New to Closed
- Target version set to 1.0
- % Done changed from 0 to 100