MOON
Server: Apache
System: Linux vps.espica.me 5.14.0-611.54.3.el9_7.x86_64 #1 SMP PREEMPT_DYNAMIC Thu May 7 16:31:24 EDT 2026 x86_64
User: espicame (1004)
PHP: 8.2.33
Disabled: exec,passthru,shell_exec,system
Upload Files
File: //etc/systemd/system/clamd.service
[Unit]
Description=clamd antivirus daemon
ConditionPathExists=!/etc/clamddisable
After=network-online.target

[Service]
Type=simple
TimeoutSec=300
EnvironmentFile=/etc/sysconfig/exim
ExecStart=/usr/local/cpanel/3rdparty/bin/clamd -F

# clamd does not create the directory holding its socket and PID file.
# Mode 0755 is required, not merely convenient: exim and every cPanel user
# running the Virus Scanner feature must be able to traverse this directory
# to reach the socket.
RuntimeDirectory=clamav
RuntimeDirectoryMode=0755

# monitor and restart service similar to tailwatchd
Restart=always
RestartSec=30

[Install]
WantedBy=multi-user.target