[ClamAV] Modify /dev/console to fit permissions
parent
4c31adaa82
commit
d14e6c184b
|
@ -10,6 +10,8 @@ fi
|
||||||
mkdir -p /var/log/clamav
|
mkdir -p /var/log/clamav
|
||||||
touch /var/log/clamav/clamd.log /var/log/clamav/freshclam.log
|
touch /var/log/clamav/clamd.log /var/log/clamav/freshclam.log
|
||||||
chown -R clamav:clamav /var/log/clamav/
|
chown -R clamav:clamav /var/log/clamav/
|
||||||
|
chown root:tty /dev/console
|
||||||
|
chmod g+rw /dev/console
|
||||||
|
|
||||||
# Prepare
|
# Prepare
|
||||||
BACKGROUND_TASKS=()
|
BACKGROUND_TASKS=()
|
||||||
|
|
|
@ -59,7 +59,7 @@ services:
|
||||||
- redis
|
- redis
|
||||||
|
|
||||||
clamd-mailcow:
|
clamd-mailcow:
|
||||||
image: mailcow/clamd:1.10
|
image: mailcow/clamd:1.11
|
||||||
build: ./data/Dockerfiles/clamd
|
build: ./data/Dockerfiles/clamd
|
||||||
restart: always
|
restart: always
|
||||||
tty: true
|
tty: true
|
||||||
|
|
Loading…
Reference in New Issue