mirror of
https://github.com/zulip/docker-zulip.git
synced 2025-11-03 05:23:40 +00:00
7 lines
209 B
Bash
7 lines
209 B
Bash
#!/bin/bash
|
|
|
|
if [ ! -f "$ZULIP_DIR/.database-initialized" ]; then
|
|
su zulip -c "$ZULIP_DIR/deployments/current/scripts/setup/initialize-database"
|
|
su zulip -c "touch $ZULIP_DIR/.database-initialized"
|
|
fi
|