Add minimal control agent and systemd unit templates
CI / basic-check (push) Has been cancelled

This commit is contained in:
Perplexity Bot
2026-08-03 22:13:46 +00:00
parent 871f4d0547
commit be55c35c3a
7 changed files with 184 additions and 0 deletions
+16
View File
@@ -0,0 +1,16 @@
[Unit]
Description=NetMapper Backend
After=network.target
[Service]
Type=simple
User=root
WorkingDirectory=/opt/NetMapper2026/backend
ExecStart=/opt/NetMapper2026/backend/.venv/bin/uvicorn app.main:app --host 0.0.0.0 --port 8000
Restart=on-failure
RestartSec=5
StandardOutput=journal
StandardError=journal
[Install]
WantedBy=multi-user.target