MaxKB/installer/start-all.sh
2025-04-18 17:02:59 +08:00

13 lines
202 B
Bash

#!/bin/bash
set -e
if [ "$MAXKB_DB_HOST" = "127.0.0.1" ]; then
/usr/bin/start-postgres.sh
fi
if [ "$MAXKB_REDIS_HOST" = "127.0.0.1" ]; then
/usr/bin/start-redis.sh
fi
/usr/bin/start-maxkb.sh