mirror of
https://github.com/community-scripts/ProxmoxVE.git
synced 2026-07-09 17:28:31 +00:00
fix (#13365)
This commit is contained in:
parent
1085aa5cf6
commit
2f3d393726
2 changed files with 5 additions and 0 deletions
|
|
@ -33,6 +33,10 @@ function update_script() {
|
|||
exit
|
||||
fi
|
||||
|
||||
if ! grep -q "^ALLOWED_HOSTS=" /opt/tandoor/.env; then
|
||||
echo "ALLOWED_HOSTS=${LOCAL_IP}" >>/opt/tandoor/.env
|
||||
fi
|
||||
|
||||
if check_for_gh_release "tandoor" "TandoorRecipes/recipes"; then
|
||||
msg_info "Stopping Service"
|
||||
systemctl stop tandoor
|
||||
|
|
|
|||
|
|
@ -47,6 +47,7 @@ $STD yarn install
|
|||
$STD yarn build
|
||||
cat <<EOF >/opt/tandoor/.env
|
||||
SECRET_KEY=$SECRET_KEY
|
||||
ALLOWED_HOSTS=$LOCAL_IP
|
||||
TZ=Europe/Berlin
|
||||
|
||||
DB_ENGINE=django.db.backends.postgresql
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue