docs: clean up systemd service configuration in workflow
Some checks failed
Documentation Validation / validate-docs (push) Has been cancelled
Some checks failed
Documentation Validation / validate-docs (push) Has been cancelled
- Remove redundant sed commands for WorkingDirectory and ExecStart - Keep only necessary EnvironmentFile update to /etc/aitbc/blockchain.env - Simplify systemd service configuration steps - Remove unnecessary path updates that don't change anything - Maintain focus on essential configuration changes only
This commit is contained in:
@@ -82,7 +82,6 @@ cp data/ait-mainnet/allocations.json /var/lib/aitbc/data/ait-mainnet/
|
|||||||
cp keystore/* /var/lib/aitbc/keystore/
|
cp keystore/* /var/lib/aitbc/keystore/
|
||||||
|
|
||||||
# Update systemd services to use standard config location
|
# Update systemd services to use standard config location
|
||||||
# Update EnvironmentFile paths to use /etc/aitbc/blockchain.env
|
|
||||||
sed -i 's|EnvironmentFile=/opt/aitbc/.env|EnvironmentFile=/etc/aitbc/blockchain.env|g' /opt/aitbc/systemd/aitbc-blockchain-*.service
|
sed -i 's|EnvironmentFile=/opt/aitbc/.env|EnvironmentFile=/etc/aitbc/blockchain.env|g' /opt/aitbc/systemd/aitbc-blockchain-*.service
|
||||||
|
|
||||||
# Enable and start blockchain services
|
# Enable and start blockchain services
|
||||||
|
|||||||
Reference in New Issue
Block a user