We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a93db64 commit 1fff552Copy full SHA for 1fff552
install/vst-install.sh
@@ -522,15 +522,20 @@ else
522
wget $CHOST/$VERSION/mysql.cnf -O /etc/my.cnf
523
fi
524
525
-# Disable aio on OpenVZ
526
-if [ -e "/proc/user_beancounters" ]; then
527
- sed -i "s/#innodb_use_native_aio/innodb_use_native_aio/g" /etc/my.cnf
528
-fi
529
chkconfig mysqld on
530
service mysqld start
531
if [ "$?" -ne 0 ]; then
532
- echo "Error: mysqld start failed"
533
- exit
+
+ # Fix for aio on OpenVZ
+ if [ -e "/proc/user_beancounters" ]; then
+ sed -i "s/#innodb_use_native_aio/innodb_use_native_aio/g" /etc/my.cnf
+ fi
534
+ service mysqld start
535
+ if [ "$?" -ne 0 ]; then
536
+ echo "Error: mysqld start failed"
537
+ exit 1
538
539
540
541
mysqladmin -u root password $mpass
0 commit comments