My /etc/sudoers
josh ALL=(ALL) NOPASSWD: /usr/bin/systemctl restart servicename.service
running systemctl restart servicename.service still asks for password. Does anyone have any ideas?
Running command: locate systemctl shows it located here: /usr/bin/systemctl