Фикс: тесты прошли, сервер работает

This commit is contained in:
neo committed 2026-06-09 21:12:22 +05:00
1 parent de18090304
commit ac07d54009
2 files changed
+20

No files matched your search

+17
View File
@@ -0,0 +1,17 @@
[Unit]
Description=152-ФЗ Scanner API Server
After=network.target
[Service]
Type=simple
User=neo
WorkingDirectory=/home/neo/workspace/152-fz-scanner
Environment="PATH=/home/neo/workspace/152-fz-scanner/.venv/bin"
ExecStart=/home/neo/workspace/152-fz-scanner/.venv/bin/python -m main server --host 127.0.0.1 --port 8765
Restart=always
RestartSec=5
StandardOutput=append:/home/neo/workspace/152-fz-scanner/logs/app.log
StandardError=append:/home/neo/workspace/152-fz-scanner/logs/app.log
[Install]
WantedBy=default.target
+3
View File
@@ -0,0 +1,3 @@
https://example.com
https://google.com
https://wikipedia.org
1 https://example.com
2 https://google.com
3 https://wikipedia.org