final push

This commit is contained in:
JakeBreath
2026-08-05 19:10:24 -05:00
parent 91dbb675d4
commit 175e5b08d2
4 changed files with 5 additions and 21 deletions
+1
View File
@@ -9,3 +9,4 @@ nonpacks/static/vanilla/entity_index.json
*.log *.log
AGENTS/ AGENTS/
logs/ logs/
non_packs.service
-17
View File
@@ -1,17 +0,0 @@
[Unit]
Description=Packs Site Server
After=network.target
[Service]
Type=simple
User=jake
Group=jake
WorkingDirectory=/mnt/Disco/Proyects/Python3.13/Packs site
ExecStart=/mnt/Disco/Proyects/Python3.13/Packs site/run_prod.sh
Restart=on-failure
StandardOutput=journal
StandardError=journal
SyslogIdentifier=packs-site
[Install]
WantedBy=multi-user.target
+2 -2
View File
@@ -32,5 +32,5 @@ fi
echo "Rebuilding vanilla entity-texture index..." echo "Rebuilding vanilla entity-texture index..."
"$PYTHON_BIN" manage.py refresh_vanilla_index "$PYTHON_BIN" manage.py refresh_vanilla_index
echo "Starting Django development server on 0.0.0.0:8000..." echo "Starting Django development server on 0.0.0.0:8120..."
exec "$PYTHON_BIN" manage.py runserver 0.0.0.0:8000 exec "$PYTHON_BIN" manage.py runserver 0.0.0.0:8120
+2 -2
View File
@@ -39,10 +39,10 @@ echo "Rebuilding vanilla entity-texture index..."
# Directory for gunicorn's access log (parsed by the stats page). # Directory for gunicorn's access log (parsed by the stats page).
mkdir -p "$SCRIPT_DIR/logs" mkdir -p "$SCRIPT_DIR/logs"
echo "Starting Gunicorn on 0.0.0.0:8000..." echo "Starting Gunicorn on 0.0.0.0:8120..."
exec "$GUNICORN_BIN" \ exec "$GUNICORN_BIN" \
--workers 3 \ --workers 3 \
--bind 0.0.0.0:8000 \ --bind 0.0.0.0:8120 \
--access-logfile "$SCRIPT_DIR/logs/gunicorn-access.log" \ --access-logfile "$SCRIPT_DIR/logs/gunicorn-access.log" \
--access-logformat '%(h)s %(t)s "%(r)s" %(s)s %(b)s %(L)s' \ --access-logformat '%(h)s %(t)s "%(r)s" %(s)s %(b)s %(L)s' \
common.wsgi:application common.wsgi:application