Added missing removal of systemd files to the postinstall script.
This commit is contained in:
@ -3,7 +3,9 @@ if [ "$1" -eq 0 ]
|
|||||||
then
|
then
|
||||||
rm -f /etc/init.d/maxscale
|
rm -f /etc/init.d/maxscale
|
||||||
rm -f /etc/ld.so.conf.d/maxscale.conf
|
rm -f /etc/ld.so.conf.d/maxscale.conf
|
||||||
|
rm -f /usr/lib/systemd/system/maxscale.service
|
||||||
else
|
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" ]
|
||||||
then
|
then
|
||||||
cp "/usr/local/mariadb-maxscale/etc/MaxScale.cnf" "/etc/maxscale.cnf"
|
cp "/usr/local/mariadb-maxscale/etc/MaxScale.cnf" "/etc/maxscale.cnf"
|
||||||
|
Reference in New Issue
Block a user