mirror of
https://github.com/1Panel-dev/MaxKB.git
synced 2025-12-31 18:22:49 +00:00
13 lines
202 B
Bash
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 |