Skip to content

Commit b9df006

Browse files
committed
Fix issue with clamd demon
1 parent 8087e6d commit b9df006

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

src/entrypoint.sh

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -140,8 +140,12 @@ configure_amavis
140140
# Start the syslog
141141
service rsyslog start
142142

143+
# Make sure amavis can write virusmails
144+
chown -R amavis:amavis /var/virusmails
145+
chmod -R u+rw,g+rw /var/virusmails
146+
143147
# Start ClamAV
144-
/etc/init.d/clamav-daemon start
148+
service clamav-daemon start
145149
service clamav-freshclam start
146150

147151
# Start Amavis

0 commit comments

Comments
 (0)