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,6 +8,7 @@ User=root
|
||||
WorkingDirectory=/opt/aitbc/apps/blockchain-explorer
|
||||
# Using the blockchain node venv since the coordinator one is broken
|
||||
Environment=PATH=/usr/bin:/usr/local/bin:/usr/bin:/bin
|
||||
EnvironmentFile=/etc/aitbc/.env
|
||||
ExecStart=/opt/aitbc/venv/bin/python main.py
|
||||
Restart=always
|
||||
RestartSec=5
|
||||
|
||||
Reference in New Issue
Block a user