DB_DUMP_PATH not set when using install.sh (#2623)

Backup errors out when DB_DUMP_PATH is not set. According to https://snipe-it.readme.io/docs/configuration#required-database-settings this is usually '/usr/bin'
This commit is contained in:
tiagom62 2016-09-16 19:17:04 -04:00 committed by snipe
parent 2d8269ddcd
commit 08f320b76a

View file

@ -200,6 +200,7 @@ case $distro in
DB_PASSWORD=$mysqluserpw
APP_URL=http://$fqdn
APP_KEY=$random32
DB_DUMP_PATH='/usr/bin'
EOF
echo "## Setting up hosts file."
@ -315,6 +316,7 @@ case $distro in
DB_PASSWORD=$mysqluserpw
APP_URL=http://$fqdn
APP_KEY=$random32
DB_DUMP_PATH='/usr/bin'
EOF
## TODO make sure mysql is set to start on boot and go ahead and start it
@ -447,6 +449,7 @@ case $distro in
DB_PASSWORD=$mysqluserpw
APP_URL=http://$fqdn
APP_KEY=$random32
DB_DUMP_PATH='/usr/bin'
EOF
@ -561,7 +564,7 @@ case $distro in
DB_PASSWORD=$mysqluserpw
APP_URL=http://$fqdn
APP_KEY=$random32
DB_DUMP_PATH='/usr/bin'
EOF
# Change permissions on directories