[Rspamd] Use tini

master
André 2017-10-15 09:31:19 +02:00
parent c3e36be576
commit 6b6470fe54
3 changed files with 3 additions and 2 deletions

View File

@ -22,7 +22,8 @@ COPY settings.conf /etc/rspamd/modules.d/settings.conf
#COPY ratelimit.lua /usr/share/rspamd/lua/ratelimit.lua
#COPY lua_util.lua /usr/share/rspamd/lib/lua_util.lua
COPY docker-entrypoint.sh /docker-entrypoint.sh
COPY tini /sbin/tini
ENTRYPOINT ["/docker-entrypoint.sh"]
CMD /usr/bin/rspamd -f -u _rspamd -g _rspamd
CMD ["/usr/bin/rspamd", "-f", "-u", "_rspamd", "-g", "_rspamd"]

View File

@ -2,4 +2,4 @@
chown -R _rspamd:_rspamd /var/lib/rspamd
exec "$@"
exec /sbin/tini -- "$@"

Binary file not shown.