https://bugs.koozali.org/show_bug.cgi?id=11597

--- Comment #11 from Jean-Philippe Pialasse <[email protected]> ---
[root@sme10 ~]# ll /var/run/clamd.scan/clamd.pid
ls: impossible d'accéder à /var/run/clamd.scan/clamd.pid: Aucun fichier ou
dossier de ce type
[root@sme10 ~]# ll /var/run/clamd/clamd.pid
-rw-rw-r-- 1 root root 6  8 jun 15:05 /var/run/clamd/clamd.pid

clamd_restart_opt="systemctl try-restart clamd@scan"
# systemctl cat clamd@scan
# /usr/lib/systemd/system/[email protected]
[Unit]
Description = clamd scanner (%i) daemon
Documentation=man:clamd(8) man:clamd.conf(5) https://www.clamav.net/documents/
After = syslog.target nss-lookup.target network.target

[Service]
Type = forking
ExecStart = /usr/sbin/clamd -c /etc/clamd.d/%i.conf
# Reload the database
ExecReload=/bin/kill -USR2 $MAINPID
Restart = on-failure
TimeoutStartSec=420

[Install]
WantedBy = multi-user.target

# /usr/lib/systemd/system/[email protected]/51koozali.conf
[Service]
# we do not allow mulitple instance on Koozali SME Server
ExecStart= 
ExecStart=/bin/false




so should be

clamd_restart_opt="systemctl try-restart clamd"
clamd_pid="/var/run/clamd/clamd.pid"

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
_______________________________________________
Mail for each SME Contribs bug report
To unsubscribe, e-mail [email protected]
Searchable archive at https://lists.contribs.org/mailman/public/contribteam/

Reply via email to