Let normal user restart service with /etc/sudoers
For sudoers
to take effect, you actually have to use sudo
. :) Do:
sudo systemctl restart kado-demo.service
And it won't ask for a password.
If you don't use sudo
, systemctl
falls back to using Polkit for authorization.