Re: howto customize apache service from another package
>>What is the right way to customize the apache service from another package. > Use /lib/systemd/system/apache2.service.d/$YOURPACKAGE.conf. thanks Fred
Re: howto customize apache service from another package
On 4/29/25 11:38, PICCA Frederic-Emmanuel wrote: 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 Hi, you can add a conf file into /etc/apache2/conf-available and insert in doc that to enable it, launch a2enconf
howto customize apache service from another package
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
Re: howto customize apache service from another package
I already have this in /etc/apache2/conf-available/qemu-web-desktop.conf # qwd cgi configuration for perl LoadModule perl_module modules/mod_perl.so LoadModule cgi_module modules/mod_cgi.so SetHandler perl-script PerlResponseHandler ModPerl::Registry PerlOptions +ParseHeaders AddHandler perl-script .pl AddHandler perl-script .cgi Options +ExecCGI AssignUserIDExpr _qemu-web-desktop AssignGroupIDExpr kvm Alias /qemu-web-desktop /usr/share/qemu-web-desktop/html/desktop Options +Includes AddOutputFilter INCLUDES .html Is it possible to deal with memory limits from here ?
Re: howto customize apache service from another package
On Apr 29, PICCA Frederic-Emmanuel wrote: What is the right way to customize the apache service from another package. Use /lib/systemd/system/apache2.service.d/$YOURPACKAGE.conf. -- ciao, Marco signature.asc Description: PGP signature
Re: Is it worth spending more time on adduser?
On 28.04.25 21:46, Jakub Wilk wrote: It hasn't been HP for a long time. Thanks for the update. It *has* been HP when I got it … -- -- regards -- -- Matthias Urlichs BEGIN:VCARD VERSION:4.0 N:Urlichs;Matthias;;; NICKNAME:Smurf EMAIL;PREF=1:matth...@urlichs.de TEL;TYPE=work;VALUE=TEXT:+49 911 59818 0 URL;TYPE=home:https://matthias.urlichs.de END:VCARD OpenPGP_signature.asc Description: OpenPGP digital signature