Re: clamd@amavisd fails under systemd

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



On 11/08/2016 03:24 AM, Rob Kampen wrote:
If there is anyone that has this combo of services working under CentOS7 and can shed any insight on why I cannot get this service to actually run, it would be very much appreciated.


When setting up a clamd service, you should need to enable the service, create the configuration file, and typically set up /etc/tmpfiles.d/clamd-<service>.conf. That file should have one line:

d /run/clamd.<service> 0700 daemon daemon -

...or whatever user you use for clamd. If you don't have the proper tmpfiles setup, the run directory won't exist or won't have the correct owner, and either standard permissions or SELinux may deny the process access to the run directory.

_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
https://lists.centos.org/mailman/listinfo/centos



[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux