pub fn pid_path(settings_dir: &Path) -> PathBuf
Returns the path to the PID file: <settings_dir>/gateway.pid.
<settings_dir>/gateway.pid