Re: [clamav-users] Update policy for clamd@.service

2019-08-26 Thread Herbert via clamav-users
RESOLVED with help of https://access.redhat.com/documentation/en-us/red_hat_enterprise_linux/7/html/system_administrators_guide/sect-Managing_Services_with_systemd-Unit_Files#brid-Managing_Services_with_systemd-Extending_Unit_Config I simply had to (removed former approach first): 1) cp /usr/li

Re: [clamav-users] Update policy for clamd@.service

2019-08-26 Thread Reio Remma via clamav-users
You only need: [Service] TimeoutSec = 600 Good luck, Reio > On 26 Aug 2019, at 14:22, Herbert via clamav-users > wrote: > > Followed instructions on how to custimize an existing systemd service: > > 1) Created new folder /etc/systemd/system/clamd@.service.d > > 2) Created new file /etc/syst

Re: [clamav-users] Update policy for clamd@.service

2019-08-26 Thread Herbert via clamav-users
Followed instructions on how to custimize an existing systemd service: 1) Created new folder /etc/systemd/system/clamd@.service.d 2) Created new file /etc/systemd/system/clamd@.service.d/custom.conf [Unit] Description = Customized clamd scanner (%i) daemon Documentation=man:clamd(8) man:clamd.co

Re: [clamav-users] Update policy for clamd@.service

2019-08-26 Thread Reio Remma via clamav-users
On 26/08/2019 12:27, Fajar A. Nugraha via clamav-users wrote: On Mon, Aug 26, 2019 at 4:18 PM Herbert via clamav-users mailto:clamav-users@lists.clamav.net>> wrote: Hi all, System Fedora 5.2.9-200.fc30.x86_64 ClamAv 0.101.4 I wonder why a DNF update changes my customized

Re: [clamav-users] Update policy for clamd@.service

2019-08-26 Thread Herbert via clamav-users
Thanks for your hints! Didn't know how to properly customize a service. Will of course dive into that topic. On 26.08.2019 11:27, Fajar A. Nugraha via clamav-users wrote: On Mon, Aug 26, 2019 at 4:18 PM Herbert via clamav-users mailto:clamav-users@lists.clamav.net>> wrote: Hi all, Sy

Re: [clamav-users] Update policy for clamd@.service

2019-08-26 Thread Fajar A. Nugraha via clamav-users
On Mon, Aug 26, 2019 at 4:18 PM Herbert via clamav-users < clamav-users@lists.clamav.net> wrote: > Hi all, > > System Fedora 5.2.9-200.fc30.x86_64 > ClamAv 0.101.4 > > > I wonder why a DNF update changes my customized > /usr/lib/systemd/clam@,service file. > > ... because you shouldn't have modifi

[clamav-users] Update policy for clamd@.service

2019-08-26 Thread Herbert via clamav-users
Corrected typo in filename. Hi all, System Fedora 5.2.9-200.fc30.x86_64 ClamAv 0.101.4 I wonder why a DNF update changes my customized /usr/lib/systemd/clam@.service file. Background: I had to add/change the following configurations in above mentioned file to overcome a timeout issue. Ti

[clamav-users] Update policy for clamd@.service

2019-08-26 Thread Herbert via clamav-users
Hi all, System Fedora 5.2.9-200.fc30.x86_64 ClamAv 0.101.4 I wonder why a DNF update changes my customized /usr/lib/systemd/clam@,service file. Background: I had to add/change the following configurations in above mentioned file to overcome a timeout issue. TimeOutSec = 600 #Restart = on-