summaryrefslogtreecommitdiff
path: root/systemd/prismv2-backend.service
diff options
context:
space:
mode:
authorTyler Hoang <tyler@tylerhoang.xyz>2026-05-19 18:39:59 -0700
committerTyler Hoang <tyler@tylerhoang.xyz>2026-05-19 18:39:59 -0700
commit68b4f52829cdb2d6951faf8037fb002083ebd0a5 (patch)
tree0242b2956ea325fd68b718d4337a219bf5146ae4 /systemd/prismv2-backend.service
parent0a40178b40b4c939b00f03f114777ffff2ed0652 (diff)
Update production deployment templates and docs
Diffstat (limited to 'systemd/prismv2-backend.service')
-rw-r--r--systemd/prismv2-backend.service10
1 files changed, 5 insertions, 5 deletions
diff --git a/systemd/prismv2-backend.service b/systemd/prismv2-backend.service
index fd69a4d..49035ff 100644
--- a/systemd/prismv2-backend.service
+++ b/systemd/prismv2-backend.service
@@ -1,15 +1,15 @@
[Unit]
-Description=Prism v2 Backend (FastAPI/uvicorn)
+Description=Prism v2 Backend (FastAPI)
After=network.target
[Service]
Type=simple
-User=tyler
-WorkingDirectory=/home/tyler/Work/prism-v2/backend
+User=www-data
+WorkingDirectory=/var/www/prism-v2/backend
Environment=PYTHONUNBUFFERED=1
-ExecStart=/home/tyler/Work/prism-v2/backend/.venv/bin/uvicorn app.main:app --host 127.0.0.1 --port 8001
+ExecStart=/var/www/prism-v2/backend/.venv/bin/uvicorn app.main:app --host 127.0.0.1 --port 8001
Restart=on-failure
RestartSec=5
[Install]
-WantedBy=multi-user.target prismv2.target
+WantedBy=multi-user.target