Фикс: тесты прошли, сервер работает
This commit is contained in:
1 parent
de18090304
commit
ac07d54009
2 files changed
+20
No files matched your search
@@ -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
|
||||||
@@ -0,0 +1,3 @@
|
|||||||
|
https://example.com
|
||||||
|
https://google.com
|
||||||
|
https://wikipedia.org
|
||||||
|
Reference in new issue
Block a user