mirror of
https://github.com/serghey-rodin/vesta.git
synced 2025-08-22 22:34:05 -07:00
parent
f0782d1f82
commit
6d58e98042
1 changed files with 5 additions and 0 deletions
|
@ -534,6 +534,11 @@ if [ "$release" = '16.04' ] && [ -e '/etc/init.d/mysql' ]; then
|
||||||
chown mysql:mysql /var/lib/mysql
|
chown mysql:mysql /var/lib/mysql
|
||||||
mysqld --initialize-insecure
|
mysqld --initialize-insecure
|
||||||
fi
|
fi
|
||||||
|
if [ "$release" = '18.04' ] && [ -e '/etc/init.d/mysql' ]; then
|
||||||
|
mkdir -p /var/lib/mysql > /dev/null 2>&1
|
||||||
|
chown mysql:mysql /var/lib/mysql
|
||||||
|
mysqld --initialize-insecure
|
||||||
|
fi
|
||||||
|
|
||||||
# Backup Vesta
|
# Backup Vesta
|
||||||
service vesta stop > /dev/null 2>&1
|
service vesta stop > /dev/null 2>&1
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue