Drop privileges after writing the pidfile.
authorMark Wooding <mdw@distorted.org.uk>
Tue, 1 Apr 2008 12:47:40 +0000 (13:47 +0100)
committerMark Wooding <mdw@distorted.org.uk>
Tue, 1 Apr 2008 12:47:40 +0000 (13:47 +0100)
commit8938f77b2c12ccea6731a1eba7d788b2ba22348f
treea2ce0fcc92bab389fa53d92c77c1ce2090615b65
parentb374625fc45476149e33c83530bfc989d353f56d
Drop privileges after writing the pidfile.

Otherwise we may not be able to write it (e.g., to /var/run) because
of file access restrictions.
fw.c