Start MaxScale as maxscale user in run_ctrl_c.sh
MaxScale should not be started as root.
This commit is contained in:
@ -10,7 +10,7 @@ fi
|
|||||||
|
|
||||||
T="$(date +%s)"
|
T="$(date +%s)"
|
||||||
|
|
||||||
$maxscale_access_sudo maxscale -d
|
$maxscale_access_sudo maxscale -d -U maxscale
|
||||||
if [ $? -ne 0 ] ; then
|
if [ $? -ne 0 ] ; then
|
||||||
exit 1
|
exit 1
|
||||||
fi
|
fi
|
||||||
|
Reference in New Issue
Block a user