Configuration files from older installations no longer overwrite existing files.
This commit is contained in:
@ -6,7 +6,7 @@ then
|
|||||||
rm -f /usr/lib/systemd/system/maxscale.service
|
rm -f /usr/lib/systemd/system/maxscale.service
|
||||||
else
|
else
|
||||||
# Copy and rename config from old location
|
# Copy and rename config from old location
|
||||||
if [ -f "/usr/local/mariadb-maxscale/etc/MaxScale.cnf" ]
|
if [ -f "/usr/local/mariadb-maxscale/etc/MaxScale.cnf" -a ! -f "/etc/maxscale.cnf" ]
|
||||||
then
|
then
|
||||||
cp "/usr/local/mariadb-maxscale/etc/MaxScale.cnf" "/etc/maxscale.cnf"
|
cp "/usr/local/mariadb-maxscale/etc/MaxScale.cnf" "/etc/maxscale.cnf"
|
||||||
fi
|
fi
|
||||||
|
Reference in New Issue
Block a user