Am 22.07.2016 um 19:17 schrieb Scott Horton:
I checked what I think is that configuration file for systemctl: /usr/lib/systemd/system/[email protected] and it appers to be using the conf file I think it is: ExecStart = /usr/sbin/clamd -c /etc/clamd.d/%i.conf --foreground=yes Not sure what the %i resolves to. I think I saw that was amavisd somewhere. Maybe the user that starts it?
https://fedoramagazine.org/systemd-template-unit-files/ <service_name>@<argument>.serviceThe argument is a bit of text (string) passed to systemd to use in the unit file. The argument can be used to customize the way systemd deals with that specific instance of the unit. Multiple instances of the same unit can exist.
Two identifiers are used in the unit file for passing the instance argument.
%i passes the argument, specially formatted (escaped)
%I passes the argument verbatim without escaping
signature.asc
Description: OpenPGP digital signature
_______________________________________________ Help us build a comprehensive ClamAV guide: https://github.com/vrtadmin/clamav-faq http://www.clamav.net/contact.html#ml
