yeet
This commit is contained in:
15
startup.sh
15
startup.sh
@@ -3,8 +3,17 @@
|
||||
echo "Running database migrations..."
|
||||
aerich upgrade
|
||||
|
||||
echo "Starting reindex process..."
|
||||
python main.py "" --reindex
|
||||
# Ensure Obsidian vault directory exists
|
||||
mkdir -p /app/data/obsidian
|
||||
|
||||
echo "Starting Flask application..."
|
||||
# Start continuous Obsidian sync if enabled
|
||||
if [ "${OBSIDIAN_CONTINUOUS_SYNC}" = "true" ]; then
|
||||
echo "Starting Obsidian continuous sync in background..."
|
||||
ob sync --continuous &
|
||||
fi
|
||||
|
||||
echo "Starting reindex process in background..."
|
||||
python main.py "" --reindex &
|
||||
|
||||
echo "Starting application..."
|
||||
python app.py
|
||||
|
||||
Reference in New Issue
Block a user