HEX
Server: nginx/1.30.4
System: Linux d-twindigital-web-1.host-ed.eu 4.18.0-553.141.2.el8_10.x86_64 #1 SMP Wed Jul 8 10:28:18 EDT 2026 x86_64
User: u_twindigital_html (1009)
PHP: 8.3.30
Disabled: NONE
Upload Files
File: //proc/self/root/bin/acme.sh
#!/usr/bin/bash
export LE_WORKING_DIR=/usr/share/acme.sh
export LOG_FILE=/var/log/acme.sh/acme.sh.log

# 1. Controleer of --config-home aanwezig is in de parameters
HAS_CONFIG_HOME=false
for arg in "$@"; do
    if [[ "$arg" == --config-home* ]]; then
        HAS_CONFIG_HOME=true
        break
    fi
done

# 2. Toon error als de VARIABELE niet bestaat/leeg is EN --config-home ontbreekt
if [ "$HAS_CONFIG_HOME" = false ] && [ -z "${LE_CONFIG_HOME}" ]; then
    echo "Error: --config-home mist als parameter OF zet een omgevingsvariabele LE_CONFIG_HOME" >&2
    exit 1
fi

# Controleer of het custom bestand bestaat en een regulier bestand is
if [ -f "/etc/acme.sh/custom.sh" ]; then
    source /etc/acme.sh/custom.sh
fi

exec /usr/share/acme.sh/acme.sh "$@"