Update path of configs
This commit is contained in:
parent
2797027801
commit
831b00cbb1
3 changed files with 9 additions and 9 deletions
|
@ -5,9 +5,9 @@
|
|||
|
||||
#Imposta credenziali
|
||||
DB_USER=$(jq -r '.db.user' ../config/default.json)
|
||||
DB_PASS=$(jq -r '.db.password' ../config/default.json)
|
||||
DB_NAME=$(jq -r '.db.database' ../config/default.json)
|
||||
TABLE_NAME=$(jq -r '.db.table' ../config/default.json)
|
||||
DB_PASS=$(jq -r '.db.password' ../server/config/default.json)
|
||||
DB_NAME=$(jq -r '.db.database' ../server/config/default.json)
|
||||
TABLE_NAME=$(jq -r '.db.table' ../server/config/default.json)
|
||||
|
||||
# Controlla se DB_USER è "myusername"
|
||||
if [ "$DB_USER" == "myusername" ]; then
|
||||
|
|
|
@ -4,8 +4,8 @@
|
|||
# nano /var/www/html/leaflet/ruscomap/delete_rusco.sh
|
||||
|
||||
# Imposta credenziali
|
||||
DB_USER=$(jq -r '.db.user' ../config/default.json)
|
||||
DB_PASS=$(jq -r '.db.password' ../config/default.json)
|
||||
DB_USER=$(jq -r '.db.user' ../server/config/default.json)
|
||||
DB_PASS=$(jq -r '.db.password' ../server/config/default.json)
|
||||
|
||||
# Controlla se DB_USER è "myusername"
|
||||
if [ "$DB_USER" == "myusername" ]; then
|
||||
|
|
|
@ -4,10 +4,10 @@
|
|||
# nano /var/www/html/leaflet/ruscomap/pulisci_manualmente_vecchio_rusco.sh
|
||||
|
||||
# Imposta credenziali
|
||||
DB_USER=$(jq -r '.db.user' ../config/default.json)
|
||||
DB_PASS=$(jq -r '.db.password' ../config/default.json)
|
||||
DB_NAME=$(jq -r '.db.database' ../config/default.json)
|
||||
TABLE_NAME=$(jq -r '.db.table' ../config/default.json)
|
||||
DB_USER=$(jq -r '.db.user' ../server/config/default.json)
|
||||
DB_PASS=$(jq -r '.db.password' ../server/config/default.json)
|
||||
DB_NAME=$(jq -r '.db.database' ../server/config/default.json)
|
||||
TABLE_NAME=$(jq -r '.db.table' ../server/config/default.json)
|
||||
|
||||
# Controlla se DB_USER è "myusername"
|
||||
if [ "$DB_USER" == "myusername" ]; then
|
||||
|
|
Loading…
Reference in a new issue