Some checks failed
Systemd Sync / sync-systemd (push) Has been cancelled
- Remove ProtectSystem=strict and ReadWritePaths from agent-daemon, gpu, learning, marketplace, modality-optimization, monitor, multimodal, and openclaw services - Add ProtectSystem=no to coordinator-api, exchange-api, and explorer services to allow database writes for SQLite WAL mode - Retain NoNewPrivileges and ProtectHome security settings across all services
24 lines
478 B
Desktop File
24 lines
478 B
Desktop File
[Unit]
|
|
Description=AITBC Exchange API Service
|
|
After=network.target
|
|
Wants=network.target
|
|
|
|
[Service]
|
|
Type=simple
|
|
User=root
|
|
Group=root
|
|
WorkingDirectory=/opt/aitbc/apps/exchange
|
|
ExecStart=/opt/aitbc/venv/bin/python simple_exchange_api.py
|
|
ExecReload=/bin/kill -HUP $MAINPID
|
|
Restart=always
|
|
RestartSec=5
|
|
StandardOutput=journal
|
|
StandardError=journal
|
|
SyslogIdentifier=aitbc-exchange-api
|
|
|
|
# Allow database writes for SQLite WAL mode
|
|
ProtectSystem=no
|
|
|
|
[Install]
|
|
WantedBy=multi-user.target
|