Go to the moonraker doc’s and read the PolicyKit Permissions section:
https://moonraker.readthedocs.io/en/latest/installation/
See PolicyKit warnings; unable to manage services, restart system, or update packages · Issue #349 · Arksine/moonraker · GitHub