util_read_pid_file


Description:


public Pid util_read_pid_file (string component)

Read the pid file

A component that wrote none -- one not started yet, or hosted somewhere that writes no pid file -- is no failure of its own, and goes unreported.

Parameters:

component

The component we're handling

Returns:

the pid, or -1 when there is no pid file or it names no process


Namespace: GPaste
Package: gpaste-3