Projects
openEuler:20.03:LTS:SP3
obs-server
_service:tar_scm_kernel_repo:Adapt-setup-applia...
Sign Up
Log In
Username
Password
Overview
Repositories
Revisions
Requests
Users
Attributes
Meta
File _service:tar_scm_kernel_repo:Adapt-setup-appliance.sh-for-openeuler.patch of Package obs-server
From 804c99034ac187f00875a5324ee2a13251d3fc98 Mon Sep 17 00:00:00 2001 From: lingsheng <lingsheng@huawei.com> Date: Thu, 23 Sep 2021 09:53:06 +0800 Subject: [PATCH] Adapt setup-appliance.sh for openeuler --- 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
Locations
Projects
Search
Status Monitor
Help
Open Build Service
OBS Manuals
API Documentation
OBS Portal
Reporting a Bug
Contact
Mailing List
Forums
Chat (IRC)
Twitter
Open Build Service (OBS)
is an
openSUSE project
.