Diff

plugins/mod_uptime.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 3232:c47bfd62701c
child 3540:bc139431830b
line wrap: on
line diff