mirror of
https://github.com/Ylianst/MeshCentral.git
synced 2025-03-09 15:40:18 +00:00
bugfix: run 'node translate.js extractall' only when DISABLE_TRANSLATE is not set
This commit is contained in:
parent
d06ca601ff
commit
cf553d1a0f
4 changed files with 39 additions and 25 deletions
|
|
@ -17,7 +17,7 @@ if [ -f "meshcentral-data/config.json" ]
|
|||
node meshcentral/meshcentral
|
||||
else
|
||||
cp config.json.template meshcentral-data/config.json
|
||||
if [ $USE_MONGODB == true ]; then
|
||||
if ! [ -z "$USE_MONGODB" ] && [ "$USE_MONGODB" == "true" ]; then
|
||||
sed -i "s/\"_mongoDb\": null/\"mongoDb\": \"mongodb:\/\/$MONGO_INITDB_ROOT_USERNAME:$MONGO_INITDB_ROOT_PASSWORD@mongodb:27017\"/" meshcentral-data/config.json
|
||||
fi
|
||||
sed -i "s/\"cert\": \"myserver.mydomain.com\"/\"cert\": \"$HOSTNAME\"/" meshcentral-data/config.json
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue