fix manager-solution

This commit is contained in:
2026-01-19 12:06:05 +01:00
parent 6a19f7cde6
commit 94b3a5ae88
261 changed files with 14723 additions and 17 deletions

View File

@@ -1,6 +1,14 @@
#!/bin/bash
set -e
# CRITICAL: Set locale BEFORE anything else
export LANG=it_IT.UTF-8
export LANGUAGE=it_IT:it
export LC_ALL=it_IT.UTF-8
export LC_TIME=it_IT.UTF-8
export TZ=Europe/Rome
DISPLAY=${DISPLAY:-:1}
export DISPLAY
@@ -17,13 +25,15 @@ sleep 2
export GTK2_RC_FILES=/usr/share/themes/Windows-10/gtk-2.0/gtkrc
export GTK_THEME=Windows-10
# DEBUG: Log locale settings (optional, can be removed later)
echo "=== LOCALE AT STARTUP: $(date) ===" > /tmp/startup_locale.log
locale >> /tmp/startup_locale.log
# Infinite restart loop
while true; do
echo "$(date): Starting Fiscality..."
/app/Fiscality/Fiscality -NoCheck -Dosgi.locking=none || true
# Launch with explicit locale environment
/app/Fiscality/Fiscality -NoCheck -Dosgi.locking=none || true
echo "$(date): Fiscality exited. Restarting..."
sleep 2
done
EOF