Consolidate systemd environment configuration by moving EnvironmentFile directives from drop-in files to main service files
Some checks failed
Systemd Sync / sync-systemd (push) Has been cancelled
Some checks failed
Systemd Sync / sync-systemd (push) Has been cancelled
- Move EnvironmentFile=/etc/aitbc/.env from 10-central-env.conf drop-in files directly into main service files for blockchain-node, blockchain-p2p, blockchain-rpc, blockchain-sync, coordinator-api, exchange-api, explorer, learning, marketplace, modality-optimization, multimodal, openclaw, and wallet services - Delete all 10-central-env.conf drop-in configuration files - Delete
This commit is contained in:
@@ -8,7 +8,8 @@ Type=simple
|
||||
User=root
|
||||
Group=root
|
||||
WorkingDirectory=/opt/aitbc/apps/exchange
|
||||
ExecStart=/opt/aitbc/venv/bin/python simple_exchange_api.py
|
||||
EnvironmentFile=/etc/aitbc/.env
|
||||
ExecStart=/opt/aitbc/apps/coordinator-api/.venv/bin/python simple_exchange_api.py --port 8001
|
||||
ExecReload=/bin/kill -HUP $MAINPID
|
||||
Restart=always
|
||||
RestartSec=5
|
||||
|
||||
Reference in New Issue
Block a user