mirror of
https://github.com/Portabase/portabase.git
synced 2026-07-14 11:16:13 +02:00
Ready for release 1.1.4
This commit is contained in:
@@ -1,15 +1,14 @@
|
||||
#!/bin/bash
|
||||
|
||||
if [ -n "$TZ" ]; then
|
||||
if [ -f "/usr/share/zoneinfo/$TZ" ]; then
|
||||
ln -sf /usr/share/zoneinfo/$TZ /etc/localtime
|
||||
echo "$TZ" > /etc/timezone
|
||||
echo "[INFO] Timezone set to $TZ"
|
||||
else
|
||||
echo "[WARN] Timezone '$TZ' not found. Using default."
|
||||
fi
|
||||
echo "[INFO] Application timezone set to $TZ (environment only)"
|
||||
export TZ="$TZ"
|
||||
else
|
||||
echo "[WARN] No TZ provided, using default container timezone"
|
||||
fi
|
||||
|
||||
|
||||
node server.js
|
||||
|
||||
exec "$@"
|
||||
exec "$@"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user