mirror of
https://github.com/mailcow/mailcow-dockerized.git
synced 2026-10-11 14:37:12 +00:00
New Rspamd image, also fixes #386
This commit is contained in:
1 parent
2c3d649f0f
commit
4066f3507c
3 files changed
+9
-3
No files matched your search
@@ -18,7 +18,8 @@ RUN apt-get update && apt-get install -y \
|
||||
&& chown _rspamd:_rspamd /run/rspamd
|
||||
|
||||
COPY settings.conf /etc/rspamd/modules.d/settings.conf
|
||||
COPY docker-entrypoint.sh /docker-entrypoint.sh
|
||||
|
||||
ENTRYPOINT ["/docker-entrypoint.sh"]
|
||||
|
||||
CMD /usr/bin/rspamd -f -u _rspamd -g _rspamd
|
||||
|
||||
USER _rspamd
|
||||
Executable
+5
@@ -0,0 +1,5 @@
|
||||
#!/bin/bash
|
||||
|
||||
chown -R _rspamd:_rspamd /var/lib/rspamd
|
||||
|
||||
exec "$@"
|
||||
Reference in new issue
Block a user