Update startup.sh
Browse files- startup.sh +0 -4
startup.sh
CHANGED
|
@@ -30,10 +30,6 @@ mkdir -p "$REDIS_DATA_DIR"
|
|
| 30 |
# Start Redis server in the background with proper configuration
|
| 31 |
redis-server --dir "$REDIS_DATA_DIR" --daemonize yes --stop-writes-on-bgsave-error no
|
| 32 |
|
| 33 |
-
# Ensure /run/postgresql exists and is writable
|
| 34 |
-
mkdir -p /run/postgresql
|
| 35 |
-
chmod 775 /run/postgresql
|
| 36 |
-
|
| 37 |
# Start PostgreSQL in the background
|
| 38 |
export PGDATA="/home/node/pgdata"
|
| 39 |
export POSTGRES_USER="${POSTGRES_USER:-node}"
|
|
|
|
| 30 |
# Start Redis server in the background with proper configuration
|
| 31 |
redis-server --dir "$REDIS_DATA_DIR" --daemonize yes --stop-writes-on-bgsave-error no
|
| 32 |
|
|
|
|
|
|
|
|
|
|
|
|
|
| 33 |
# Start PostgreSQL in the background
|
| 34 |
export PGDATA="/home/node/pgdata"
|
| 35 |
export POSTGRES_USER="${POSTGRES_USER:-node}"
|