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