yavdr-ansible/roles/yavdr-common/templates/yavdr.sudoers.j2
Alexander Grothe b1389ae487 Create drop-in for sudo for vdr user
this allows to restart vdr.service and reboot the system
2018-05-23 09:55:57 +02:00

3 lines
137 B
Django/Jinja

{{ vdr.user }} ALL=NOPASSWD: /bin/systemctl --no-block restart vdr.service
{{ vdr.user }} ALL=NOPASSWD: /bin/systemctl --no-block reboot