mirror of
https://github.com/Portabase/portabase.git
synced 2026-07-14 11:16:13 +02:00
15 lines
320 B
Bash
15 lines
320 B
Bash
#!/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
|
|
fi
|
|
|
|
node server.js
|
|
|
|
exec "$@" |