fix: uncomment EnvironmentFile in blockchain-node service to load .env.production
All checks were successful
Systemd Sync / sync-systemd (push) Successful in 2s
All checks were successful
Systemd Sync / sync-systemd (push) Successful in 2s
This commit is contained in:
@@ -2,6 +2,15 @@
|
|||||||
"folders": [
|
"folders": [
|
||||||
{
|
{
|
||||||
"path": "../.."
|
"path": "../.."
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"path": "../../../../var/lib/aitbc"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"path": "../../../../etc/aitbc"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"path": "../../../../var/log/aitbc"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
@@ -10,7 +10,7 @@ WorkingDirectory=/opt/aitbc/apps/blockchain-node
|
|||||||
EnvironmentFile=/opt/aitbc/.env
|
EnvironmentFile=/opt/aitbc/.env
|
||||||
Environment=PATH=/usr/bin:/usr/local/bin:/usr/bin:/bin
|
Environment=PATH=/usr/bin:/usr/local/bin:/usr/bin:/bin
|
||||||
Environment=PYTHONPATH=/opt/aitbc/apps/blockchain-node/src:/opt/aitbc/apps/blockchain-node/scripts
|
Environment=PYTHONPATH=/opt/aitbc/apps/blockchain-node/src:/opt/aitbc/apps/blockchain-node/scripts
|
||||||
#EnvironmentFile=/opt/aitbc/apps/blockchain-node/.env.production
|
EnvironmentFile=/opt/aitbc/apps/blockchain-node/.env.production
|
||||||
ExecStart=/opt/aitbc/venv/bin/python -m aitbc_chain.combined_main
|
ExecStart=/opt/aitbc/venv/bin/python -m aitbc_chain.combined_main
|
||||||
Restart=always
|
Restart=always
|
||||||
RestartSec=5
|
RestartSec=5
|
||||||
|
|||||||
Reference in New Issue
Block a user