diff --git a/root/etc/s6-overlay/s6-rc.d/ucrm/run b/root/etc/s6-overlay/s6-rc.d/ucrm/run index 556d17f..f688d45 100644 --- a/root/etc/s6-overlay/s6-rc.d/ucrm/run +++ b/root/etc/s6-overlay/s6-rc.d/ucrm/run @@ -42,7 +42,7 @@ export CLOUD_SMTP_USERNAME=null export CLOUD_SMTP_PASSWORD=null export CLOUD_SMTP_HOSTNAME=null export CLOUD_SMTP_TLS_ALLOW_UNAUTHORIZED=null -export CLOUD_SMTP_SECURITY_MODE=nulls +export CLOUD_SMTP_SECURITY_MODE=null export CLOUD_MAPS_API_KEY=null export NODE_ENV=production . /sharedenv diff --git a/root/etc/s6-overlay/scripts/init-adduser b/root/etc/s6-overlay/scripts/init-adduser old mode 100644 new mode 100755 index 951d492..d87c56d --- a/root/etc/s6-overlay/scripts/init-adduser +++ b/root/etc/s6-overlay/scripts/init-adduser @@ -1,4 +1,4 @@ -#!/bin/sh +#!/command/with-contenv sh PUID=${PUID:-911} PGID=${PGID:-911} diff --git a/root/etc/s6-overlay/scripts/init-permissions b/root/etc/s6-overlay/scripts/init-permissions old mode 100644 new mode 100755 diff --git a/root/etc/s6-overlay/scripts/init-postgres b/root/etc/s6-overlay/scripts/init-postgres old mode 100644 new mode 100755 diff --git a/root/etc/s6-overlay/scripts/init-prepare b/root/etc/s6-overlay/scripts/init-prepare old mode 100644 new mode 100755 index 95037e0..ebc85ba --- a/root/etc/s6-overlay/scripts/init-prepare +++ b/root/etc/s6-overlay/scripts/init-prepare @@ -30,7 +30,7 @@ ln -s /config/unms /home/app/unms/data ln -s /config/unms/ucrm /data # Nginx Firmware -[ -e /config/unms/images ] || mkdir -p /config/unms/firmwares +[ -e /config/unms/firmwares ] || mkdir -p /config/unms/firmwares [ -e /www ] || mkdir -p /www [ -d /www/firmwares ] && rm -rf /www/firmwares [ -d /home/app/unms/public/firmwares ] && rm -rf /home/app/unms/public/firmwares