'Remove the specified PID file, if possible.  Errors are logged, not
raised.
@type pidfile: C{str}
@param pidfile: The path to the PID tracking file.'

def removePID(self, pidfile):

    if (not pidfile):
        return
    try:
        os.unlink(pidfile)
    except OSError as e:
        if ((e.errno == errno.EACCES) or (e.errno == errno.EPERM)):
            log.msg('Warning:    No    permission    to    delete    pid    file')
        else:
            log.err(e, 'Failed    to    unlink    PID    file:')
    except:
        log.err(None, 'Failed    to    unlink    PID    file:')
