1
0
mirror of https://github.com/serghey-rodin/vesta.git synced 2025-03-12 04:36:25 -07:00
vesta/install/rhel/7/clamav/clamd.service

15 lines
362 B
SYSTEMD
Raw Permalink Normal View History

2015-10-21 20:10:00 +03:00
[Unit]
Description = clamd scanner (clamd) daemon
After = syslog.target nss-lookup.target network.target
[Service]
Type = simple
ExecStartPre = /usr/bin/mkdir -p /var/run/clamav
ExecStartPre = /usr/bin/chown -R clam:clam /var/run/clamav
2016-09-01 18:07:44 +03:00
ExecStart = /usr/sbin/clamd -c /etc/clamd.conf
2015-10-21 20:10:00 +03:00
Restart = on-failure
PrivateTmp = true
[Install]
WantedBy=multi-user.target