Configuration files from older installations no longer overwrite existing files.
This commit is contained in:
parent
6a318836fb
commit
2f0ef4ad31
@ -6,7 +6,7 @@ then
|
||||
rm -f /usr/lib/systemd/system/maxscale.service
|
||||
else
|
||||
# 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
|
||||
cp "/usr/local/mariadb-maxscale/etc/MaxScale.cnf" "/etc/maxscale.cnf"
|
||||
fi
|
||||
|
Loading…
x
Reference in New Issue
Block a user