diff --git a/152-fz-scanner.service b/152-fz-scanner.service new file mode 100644 index 0000000..296d86a --- /dev/null +++ b/152-fz-scanner.service @@ -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 diff --git a/data/input/test_sites.csv b/data/input/test_sites.csv new file mode 100644 index 0000000..178a271 --- /dev/null +++ b/data/input/test_sites.csv @@ -0,0 +1,3 @@ +https://example.com +https://google.com +https://wikipedia.org