Snapshot: full project state
This commit is contained in:
14
deploy/threatmarket.service
Normal file
14
deploy/threatmarket.service
Normal file
@@ -0,0 +1,14 @@
|
||||
[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
|
||||
Reference in New Issue
Block a user