HomeFreeBSD

MFH: r442556

Description

MFH: r442556

Avoid accidentally killing init or other important processes when
running 'service fcgiwrap onestop' if /var/run/fcgiwrap/fcgiwrap.pid
doesn't exist or contain the fcgiwrap PID.

This prevents killing any processes in process groups 0 or 1 or in the
caller's process group if the rc script cannot read the fcgiwrap
pidfile.

PR: 219724
Submitted by: bblister@gmail.com

Approved by: portmgr (implicit blanket: functionality fix)

Details

Provenance
matthewAuthored on
Parents
rP442556: Avoid accidentally killing init or other important processes when
Branches
Unknown
Tags
Unknown