mirror of
https://github.com/community-scripts/ProxmoxVE.git
synced 2026-05-22 16:34:57 +02:00
uwsgi
Updated UWSGI_EOF to EOF in the dispatcharr script.
This commit is contained in:
committed by
GitHub
parent
099a9b712a
commit
c047909bba
@@ -103,7 +103,7 @@ function update_script() {
|
||||
$STD uv venv --clear
|
||||
$STD uv sync
|
||||
$STD uv pip install uwsgi gevent celery redis daphne
|
||||
cat <<'UWSGI_EOF' >/opt/dispatcharr/start-uwsgi.sh
|
||||
cat <<'EOF' >/opt/dispatcharr/start-uwsgi.sh
|
||||
#!/usr/bin/env bash
|
||||
cd /opt/dispatcharr
|
||||
set -a
|
||||
@@ -125,7 +125,7 @@ exec .venv/bin/uwsgi \
|
||||
--thunder-lock \
|
||||
--die-on-term \
|
||||
--vacuum
|
||||
UWSGI_EOF
|
||||
EOF
|
||||
chmod +x /opt/dispatcharr/start-uwsgi.sh
|
||||
if grep -q 'start-gunicorn.sh' /etc/systemd/system/dispatcharr.service; then
|
||||
sed -i 's|start-gunicorn.sh|start-uwsgi.sh|g' /etc/systemd/system/dispatcharr.service
|
||||
|
||||
Reference in New Issue
Block a user