mirror of
https://github.com/aliasvault/aliasvault.git
synced 2026-03-17 14:17:34 -04:00
10 lines
275 B
Bash
10 lines
275 B
Bash
#!/bin/sh
|
|
|
|
# Set PostgreSQL paths
|
|
export PATH="/usr/lib/postgresql/16/bin:$PATH"
|
|
export PGDATA="/database/postgres"
|
|
|
|
echo "[postgres] Starting PostgreSQL server..."
|
|
|
|
# Run PostgreSQL as postgres user
|
|
exec s6-setuidgid postgres /usr/lib/postgresql/16/bin/postgres -D "$PGDATA" |