Hello, I have a package qemu-web-desktop which is served via apache2.
This system run vm from a cgi script. We need to increaze the apache2 service mem limits, in order to run these VM (with GPU passthrough).
What is the right way to customize the apache service from another package.
now we are doing this locally.
# configure apache to use unlimited memory for GPU access
mkdir -p /etc/systemd/system/apache2.service.d
FILE=/etc/systemd/system/apache2.service.d/override.conf
echo "Saved Apache server memory limits configuration in ${FILE}"
dd status=none of=${FILE} << EOF
[Service]
LimitMEMLOCK=infinity
EOF
systemctl daemon-reload
systemctl restart apache2
thanks for your help
Frederic