mirror of
https://github.com/rommapp/romm.git
synced 2026-06-28 06:46:00 +00:00
Merge branch 'master' into scheduled-tasks
This commit is contained in:
@@ -1,4 +1,15 @@
|
||||
#!/bin/bash
|
||||
#!/usr/bin/env bash
|
||||
|
||||
set -o errexit # treat errors as fatal
|
||||
set -o nounset # treat unset variables as an error
|
||||
set -o pipefail # treat errors in pipes as fatal
|
||||
shopt -s inherit_errexit # inherit errexit
|
||||
|
||||
# use virtualenvs
|
||||
source /backend/bin/activate
|
||||
|
||||
# switch to backend directory
|
||||
cd /backend || { echo "/backend directory doesn't seem to exist"; exit 1; }
|
||||
|
||||
# Run migrations and start uvicorn
|
||||
/init_back &
|
||||
|
||||
Reference in New Issue
Block a user