Files
threatmarket/deploy/threatmarket.service
2026-10-06 23:43:38 -07:00

15 lines
339 B
Desktop File

[Unit]
Description=THREATMARKET threat-intel marketplace (gunicorn)
After=network.target
[Service]
Type=simple
WorkingDirectory=/opt/threatmarket
EnvironmentFile=/opt/threatmarket/env
ExecStart=/opt/threatmarket/venv/bin/gunicorn --workers 2 --bind 127.0.0.1:8500 app:app
Restart=always
RestartSec=3
[Install]
WantedBy=multi-user.target