# Functions

GetPath returns the current pidfile path.
OwnerPid returns the ID of the process owning the PID file.
Read reads the content of the PID file.
Remove removes the PID file for the process unconditionally, regardless if the current process had created the PID file or not.
SetPath sets the pidfile path to the given one.
Write opens the PID file and writes os.Getpid() to it.