Fix issue with acmetool

- https://github.com/chatmail/relay/pull/614#discussion_r2279630626
This commit is contained in:
Keonik1
2025-08-24 16:14:45 +03:00
parent 1b3f419384
commit d5329fadc0
4 changed files with 2 additions and 3 deletions

View File

@@ -43,7 +43,6 @@ services:
## system
- /sys/fs/cgroup:/sys/fs/cgroup:rw # required for systemd
- ./:/opt/chatmail
- ./data/acme:/var/lib/acme
## data
- ./data/chatmail:/home

View File

@@ -1,6 +1,8 @@
#!/bin/bash
set -eo pipefail
unlink /etc/nginx/sites-enabled/default
if [ "${USE_FOREIGN_CERT_MANAGER,,}" == "true" ]; then
if [ ! -f "$PATH_TO_SSL/fullchain" ]; then
echo "Error: file '$PATH_TO_SSL/fullchain' does not exist. Exiting..." > /dev/stderr