mirror of
https://git.myvelabs.com/docker/myvemail.git
synced 2025-12-18 09:16:18 +00:00
9 lines
251 B
Bash
Executable file
9 lines
251 B
Bash
Executable file
#!/usr/bin/env bash
|
|
# Check if keys exist
|
|
if [ ! -f /etc/ssl/dovecot/tls.pem ] || [ ! -f /etc/ssl/dovecot/tls.key ] || [ ! -f /etc/ssl/dovecot/dh.pem ]
|
|
then
|
|
exit 1
|
|
fi
|
|
|
|
# Permissions
|
|
setfacl -R -m u:${MYVEMAIL_NGINX_USERGROUP}:rx /etc/ssl/dovecot/
|