clean-up ssl

This commit is contained in:
andreas
2023-04-06 21:49:21 +00:00
parent b277bff19d
commit 1bdf801fac
20 changed files with 237 additions and 214 deletions

View File

@@ -16,7 +16,6 @@ apt-get autoclean
rm -rf /var/lib/apt/lists/* /tmp/* /var/tmp/* ~/.cache ~/.npm
rm -rf core-11.0.2.50.507cbae-Ubuntu_20.04-amd64
EOF
# TODO: system ssl PKI for dagent and spooler ssl connection
# use envsubst in entrypoint script to convert config templates to actual config files
COPY --chmod=0775 entrypoint.sh /entrypoint.sh
# https://documentation.kopano.io/kopanocore_administrator_manual/configure_kc_components.html#configure-kopano-dagent-for-delivery-via-unix-socket

View File

@@ -1,5 +1,5 @@
#!/usr/bin/env bash
set -e
# runas user kopano
chown kopano:kopano /var/lib/kopano/attachments
# runas user kopano
exec "$@"