!23 修复启动失败问题

From: @liheavy 
Reviewed-by: @zengwefeng 
Signed-off-by: @zengwefeng
This commit is contained in:
openeuler-ci-bot 2022-03-08 12:08:24 +00:00 committed by Gitee
commit 6ef9e6663d
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F
2 changed files with 15 additions and 1 deletions

View File

@ -0,0 +1,9 @@
diff --color -Nur a/patch_tracking/patch-tracking b/patch_tracking/patch-tracking
--- a/patch_tracking/patch-tracking 2020-09-07 18:26:52.000000000 +0800
+++ b/patch_tracking/patch-tracking 2022-03-07 19:54:18.156108927 +0800
@@ -8,4 +8,4 @@
server=`grep 'LISTEN' $settings_file | awk -F'=' '{print $2}' | sed -e 's/^[ ]"//g' | sed -e 's/"$//g'`
-/usr/local/bin/uwsgi --master --https "${server},/etc/patch-tracking/self-signed.crt,/etc/patch-tracking/self-signed.key" --wsgi-file "${app_file}" --callable app --chdir "${chdir_path}" --threads 100 --lazy
+/usr/bin/uwsgi --master --https "${server},/etc/patch-tracking/self-signed.crt,/etc/patch-tracking/self-signed.key" --wsgi-file "${app_file}" --callable app --chdir "${chdir_path}" --threads 100 --lazy

View File

@ -1,10 +1,11 @@
Summary: This is a tool for automatically tracking upstream repository code patches Summary: This is a tool for automatically tracking upstream repository code patches
Name: patch-tracking Name: patch-tracking
Version: 1.0.1 Version: 1.0.1
Release: 2 Release: 3
License: Mulan PSL v2 License: Mulan PSL v2
URL: https://gitee.com/openeuler/openEuler-Advisor URL: https://gitee.com/openeuler/openEuler-Advisor
Source0: patch-tracking-%{version}.tar Source0: patch-tracking-%{version}.tar
Patch0000: fix-uwsgi-not-found.patch
BuildArch: noarch BuildArch: noarch
@ -16,6 +17,7 @@ This is a tool for automatically tracking upstream repository code patches
%prep %prep
%setup -n patch-tracking-%{version} %setup -n patch-tracking-%{version}
%patch0 -p1
%build %build
%py3_build %py3_build
@ -50,6 +52,9 @@ rm -rf $RPM_BUILD_ROOT
%changelog %changelog
* Mon Mar 07 2022 liheavy <lihaiwei8@huawei.com> - 1.0.1-3
- Fix the problem that startup failed because A could not be found
* Tue Feb 22 2022 liheavy <lihaiwei8@huawei.com> - 1.0.1-2 * Tue Feb 22 2022 liheavy <lihaiwei8@huawei.com> - 1.0.1-2
- Fix the problem that the uninstallation fails due to not recognizing systemd_preun - Fix the problem that the uninstallation fails due to not recognizing systemd_preun