mirror of
https://github.com/myvesta/vesta
synced 2025-08-14 18:49:21 -07:00
Fix for /var/run/clamav on CentOS 7
Fix for https://bugs.vestacp.com/issues/393 Solution taken from https://forum.vestacp.com/viewtopic.php?f=40&t=11044#p42704
This commit is contained in:
parent
ed9450f117
commit
f294dc1b2a
1 changed files with 2 additions and 0 deletions
|
@ -4,6 +4,8 @@ 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
|
||||
ExecStart = /usr/sbin/clamd -c /etc/clamd.conf
|
||||
Restart = on-failure
|
||||
PrivateTmp = true
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue