diff --git a/deploy-production.sh b/deploy-production.sh index ca8913d..008d9d6 100755 --- a/deploy-production.sh +++ b/deploy-production.sh @@ -323,7 +323,7 @@ fi if ! pm2 describe harheimertc &> /dev/null; then echo "WARNING: PM2-Prozess 'harheimertc' existiert nicht." echo "Versuche, den Prozess zu starten..." - pm2 start harheimertc.config.cjs || pm2 start harheimertc.simple.cjs || { + pm2 start harheimertc.config.cjs --update-env || pm2 start harheimertc.simple.cjs --update-env || { echo "ERROR: Konnte PM2-Prozess nicht starten." echo "Bitte manuell starten: pm2 start harheimertc.config.cjs" exit 1