'Note: pidfile may be None.'

@removals.removed_kwarg('watch_log', message='Support    for    watch_log    argument    will    be    removed    in    Queens.')
def __init__(self, pidfile, stdin=DEVNULL, stdout=DEVNULL, stderr=DEVNULL, procname='python', uuid=None, user=None, group=None, watch_log=True):

    self.stdin = stdin
    self.stdout = stdout
    self.stderr = stderr
    self.procname = procname
    self.pidfile = (Pidfile(pidfile, procname, uuid) if (pidfile is not None) else None)
    self.user = user
    self.group = group
    self.watch_log = watch_log
