On 2024-10-27 02:50, Masaru Nomiya wrote:
Stakanov via openSUSE Users <users@lists.opensuse.org> has written:
Hello,
Please edit /usr/lib/systemd/system/clamonacc.service just like this;
[Service] Type=forking User=root ExecStart=/usr/sbin/clamonacc --ping 30:10 --wait --fdpass [...] ---------
Editing directly the profile has the problem that perhaps an update will replace the profile with the new default one. This is more important in TW. Maybe Stakanov should try to create an override. First, make sure that the environment variable is set to an editor you are confortable with. Default is "vi". I have: Telcontar:~ # echo $EDITOR /usr/bin/jstar Telcontar:~ # Then run: systemctl edit clamonacc This creates an override file. It is probably prefilled with commented out defaults. You need to write your changes to the service file: [Service] ExecStart=/usr/sbin/clamonacc --ping 30:10 --wait --fdpass save and restart the service. systemctl restart clamonacc The rationale is that this writes a file with the changes to the service file: /etc/systemd/system/clamonacc.service.d/override.conf (or wherever is the correct path in TW) being a different file from the service file, it has chances of surviving updates. -- Cheers / Saludos, Carlos E. R. (from 15.5 x86_64 at Telcontar)