From 804c99034ac187f00875a5324ee2a13251d3fc98 Mon Sep 17 00:00:00 2001 From: lingsheng Date: Thu, 23 Sep 2021 09:53:06 +0800 Subject: [PATCH] fix obsapisetup script problems --- dist/setup-appliance.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/dist/setup-appliance.sh b/dist/setup-appliance.sh index 37b1cf3..51e4ef6 100755 --- a/dist/setup-appliance.sh +++ b/dist/setup-appliance.sh @@ -247,7 +247,7 @@ function prepare_database_setup { echo " - changing ownership for new datadir" chown mysql:mysql -R /srv/obs/MySQL echo " - restarting mysql" - systemctl restart mysql + systemctl restart mariadb echo " - setting new password for user root in mysql" mysqladmin -u root password "opensuse" if [[ $? > 0 ]];then @@ -376,7 +376,7 @@ function relink_server_cert { ############################################################################### function fix_permissions { cd $apidir - chown -R wwwrun.www $apidir/log + chown -R apache.apache $apidir/log } ############################################################################### -- 2.23.0