copr-backend: disable NoNewPrivileges for lighttpd

See https://github.com/fedora-copr/copr/issues/4007
This commit is contained in:
Jakub Kadlcik
2025-12-18 11:21:32 +01:00
parent 2c9a9fab6a
commit 56852ba78c
2 changed files with 10 additions and 0 deletions

View File

@@ -0,0 +1,4 @@
# https://www.freedesktop.org/software/systemd/man/latest/systemd.exec.html#NoNewPrivileges=
# https://docs.kernel.org/userspace-api/no_new_privs.html
[Service]
NoNewPrivileges=no

View File

@@ -416,3 +416,9 @@
notify: Restart node_exporter
tags:
- prometheus_node_exporter
- name: Install custom systemd service files
ansible.builtin.copy: src=systemd dest=/etc
notify:
- Systemctl daemon-reload
- Restart lighttpd