summaryrefslogtreecommitdiff
path: root/extra/clamav/install
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2012-03-31 00:01:07 +0000
committerroot <root@rshg054.dnsready.net>2012-03-31 00:01:07 +0000
commit977b78df305a06797773799a7295f2a5f3f013cf (patch)
treec2cad20a10da5fe8f8784db13a2d52b80d0199a3 /extra/clamav/install
parent263884f95012e159a0be10444ef96bbf56e70545 (diff)
Sat Mar 31 00:01:07 UTC 2012
Diffstat (limited to 'extra/clamav/install')
-rw-r--r--extra/clamav/install4
1 files changed, 2 insertions, 2 deletions
diff --git a/extra/clamav/install b/extra/clamav/install
index 144134dde..a2092e815 100644
--- a/extra/clamav/install
+++ b/extra/clamav/install
@@ -2,9 +2,9 @@ post_install() {
getent group clamav &>/dev/null || groupadd -r -g 64 clamav >/dev/null
getent passwd clamav &>/dev/null || useradd -r -u 64 -g clamav -d /dev/null -s /bin/false -c "Clam AntiVirus" clamav >/dev/null
- install -d /var/log/clamav
- chown clamav:root /var/log/clamav
chown -R clamav:clamav /var/lib/clamav
+ install -o clamav -g clamav -d /run/clamav
+ install -o clamav -g clamav -d /var/log/clamav
}
post_remove() {