chore: add systemd service file for backend deployment

This commit is contained in:
Claus Lohmar 2026-07-21 14:56:02 +00:00
parent a8099f504c
commit 439b0c51a1

View file

@ -0,0 +1,15 @@
[Unit]
Description=VM Bench Backend — Proxmox Image Conversion Engine
After=network.target
[Service]
Type=simple
User=root
WorkingDirectory=/mnt/converter/backend
Environment=PATH=/usr/local/bin:/usr/bin:/bin
ExecStart=/usr/bin/python3 -m uvicorn app:app --host 0.0.0.0 --port 9000
Restart=always
RestartSec=3
[Install]
WantedBy=multi-user.target