- Add infrastructure.md and workflow files to .gitignore to prevent sensitive info leaks - Change blockchain node mempool backend default from memory to database for persistence - Refactor blockchain node logger with StructuredLogFormatter and AuditLogger (consistent with coordinator) - Add structured logging fields: service, module, function, line number - Unify coordinator config with Database
22 lines
462 B
Desktop File
22 lines
462 B
Desktop File
[Unit]
|
|
Description=AITBC Exchange API Service
|
|
After=network.target
|
|
Wants=network.target
|
|
|
|
[Service]
|
|
Type=simple
|
|
User=root
|
|
Group=root
|
|
WorkingDirectory=/opt/exchange-api
|
|
Environment=PATH=/opt/exchange-api/.venv/bin
|
|
ExecStart=/opt/exchange-api/.venv/bin/python simple_exchange_api.py
|
|
ExecReload=/bin/kill -HUP $MAINPID
|
|
Restart=always
|
|
RestartSec=5
|
|
StandardOutput=journal
|
|
StandardError=journal
|
|
SyslogIdentifier=aitbc-exchange-api
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|