def pidfile(self):
        """Get the absolute path of the pidfile."""
        return os.path.abspath(
            os.path.expandvars(
                os.path.expanduser(
                    self._pidfile,
                ),
            ),
        )