# Grant sudo permissions to the user to manage his own systemd service __APP__ ALL=(ALL) NOPASSWD: /bin/systemctl stop __APP__.service __APP__ ALL=(ALL) NOPASSWD: /bin/systemctl start __APP__.service __APP__ ALL=(ALL) NOPASSWD: /bin/systemctl restart __APP__.service __APP__ ALL=(ALL) NOPASSWD: /bin/systemctl status __APP__.service