parent
551faa3a28
commit
67ccbed711
|
@ -33,11 +33,13 @@ Uncomment above lines (removing "# " at the beginning of each line), and restart
|
|||
You may want to stop and disable ClamAV service too since it's not
|
||||
called by Amavisd or other programs anymore:
|
||||
|
||||
```
|
||||
# CentOS
|
||||
systemctl disable --now clamd@amavisd
|
||||
systemctl restart amavisd
|
||||
On CentOS, the systemd script for Amavisd service
|
||||
(`/lib/systemd/system/amavisd.service`) has line
|
||||
`Wants=clamd@amavisd.service`, this makes systemd to start `clamd@amavisd`
|
||||
service each time before starting `amavisd` service, so you have to comment
|
||||
out this line to disable clamav service.
|
||||
|
||||
```
|
||||
# Debian/Ubuntu
|
||||
systemctl disable --now clamav-daemon
|
||||
systemctl restart amavis
|
||||
|
|
|
@ -61,11 +61,13 @@
|
|||
<p>Uncomment above lines (removing "# " at the beginning of each line), and restart Amavisd service.</p>
|
||||
<p>You may want to stop and disable ClamAV service too since it's not
|
||||
called by Amavisd or other programs anymore:</p>
|
||||
<pre><code># CentOS
|
||||
systemctl disable --now clamd@amavisd
|
||||
systemctl restart amavisd
|
||||
|
||||
# Debian/Ubuntu
|
||||
<pre><code>On CentOS, the systemd script for Amavisd service
|
||||
(`/lib/systemd/system/amavisd.service`) has line
|
||||
`Wants=clamd@amavisd.service`, this makes systemd to start `clamd@amavisd`
|
||||
service each time before starting `amavisd` service, so you have to comment
|
||||
out this line to disable clamav service.
|
||||
</code></pre>
|
||||
<pre><code># Debian/Ubuntu
|
||||
systemctl disable --now clamav-daemon
|
||||
systemctl restart amavis
|
||||
|
||||
|
|
Loading…
Reference in New Issue