diff --git a/deployment/common/resources/clamav-clamonacc.service b/deployment/common/resources/clamav-clamonacc.service index 339a70ca15..6f33ca8113 100644 --- a/deployment/common/resources/clamav-clamonacc.service +++ b/deployment/common/resources/clamav-clamonacc.service @@ -7,7 +7,7 @@ After=clamav-daemon.service syslog.target network.target Type=simple User=root ExecStartPre=/bin/bash -c "while [ ! -S /var/run/clamav/clamd.ctl ]; do sleep 1; done" -ExecStart=/usr/bin/clamonacc --foreground=true +ExecStart=/usr/sbin/clamonacc --foreground=true Restart=on-failure RestartSec=30