Software / code / prosody
Diff
plugins/mod_announce.lua @ 3340:0769cc5f34b6
mod_posix: Truncate the pidfile before writing to ensure that we never overwrite with a PID shorter than the previous, and end with an invalid PID in the file.
| author | Brian Cully <bjc@junctionnetworks.com> |
|---|---|
| date | Fri, 09 Jul 2010 01:16:09 +0100 |
| parent | 3278:5ca2ed58788f |
| child | 4926:58714123f600 |