mirror of
https://github.com/community-scripts/ProxmoxVED.git
synced 2026-02-25 23:05:54 +00:00
Update healthchecks-install.sh
This commit is contained in:
@@ -92,7 +92,7 @@ EOF
|
||||
ADMIN_EMAIL="admin@helper-scripts.local"
|
||||
ADMIN_PASSWORD="$DB_PASS"
|
||||
|
||||
cat <<EOF | $STD .venv/bin/python3 manage.py shell
|
||||
cat <<EOF | $STD /opt/healthchecks/.venv/bin/python3 manage.py shell
|
||||
from django.contrib.auth import get_user_model
|
||||
User = get_user_model()
|
||||
|
||||
@@ -108,7 +108,7 @@ if not User.objects.filter(email="${ADMIN_EMAIL}").exists():
|
||||
u.save()
|
||||
EOF
|
||||
|
||||
$STD python3 manage.py migrate
|
||||
$STD /opt/healthchecks/.venv/bin/python3 manage.py migrate
|
||||
msg_ok "Installed healthchecks"
|
||||
|
||||
msg_info "Creating Service"
|
||||
|
||||
Reference in New Issue
Block a user