Integrates external public IP lists for enhanced threat detection and whitelisting capabilities, including API endpoints, database schema changes, and a new fetching service. Replit-Commit-Author: Agent Replit-Commit-Session-Id: 7a657272-55ba-4a79-9a2e-f1ed9bc7a528 Replit-Commit-Checkpoint-Type: full_checkpoint Replit-Commit-Event-Id: b1366669-0ccd-493e-9e06-4e4168e2fa3b Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/449cf7c4-c97a-45ae-8234-e5c5b8d6a84f/7a657272-55ba-4a79-9a2e-f1ed9bc7a528/QKzTQQy
30 lines
623 B
Desktop File
30 lines
623 B
Desktop File
[Unit]
|
|
Description=IDS Public Lists Fetcher Service
|
|
Documentation=https://github.com/yourorg/ids
|
|
After=network.target postgresql.service
|
|
|
|
[Service]
|
|
Type=oneshot
|
|
User=root
|
|
WorkingDirectory=/opt/ids/python_ml
|
|
Environment="PYTHONUNBUFFERED=1"
|
|
EnvironmentFile=/opt/ids/.env
|
|
|
|
# Run list fetcher with virtual environment
|
|
ExecStart=/opt/ids/python_ml/venv/bin/python3 /opt/ids/python_ml/list_fetcher/run_fetcher.py
|
|
|
|
# Logging
|
|
StandardOutput=journal
|
|
StandardError=journal
|
|
SyslogIdentifier=ids-list-fetcher
|
|
|
|
# Security settings
|
|
PrivateTmp=true
|
|
NoNewPrivileges=true
|
|
|
|
# Restart policy
|
|
Restart=no
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|