mirror of
https://github.com/status-im/infra-nimbus.git
synced 2025-01-19 02:01:17 +00:00
11 lines
585 B
Django/Jinja
11 lines
585 B
Django/Jinja
# Allow non-root users start Nimbus builds with sudo.
|
|
|
|
{% for service in beacon_node_builds_branches %}
|
|
# {{ service.name }}
|
|
%{{ beacon_node_builds_group }} ALL= NOPASSWD: /usr/bin/systemctl *status beacon-node-build-{{ service.name }}*
|
|
%{{ beacon_node_builds_group }} ALL= NOPASSWD: /usr/bin/systemctl *start beacon-node-build-{{ service.name }}*
|
|
%{{ beacon_node_builds_group }} ALL= NOPASSWD: /usr/bin/systemctl *stop beacon-node-build-{{ service.name }}*
|
|
%{{ beacon_node_builds_group }} ALL= NOPASSWD: /usr/bin/systemctl *restart beacon-node-build-{{ service.name }}*
|
|
|
|
{% endfor %}
|