patch-tracking/0001-fix-uwsgi-path-issue.patch

23 lines
1.0 KiB
Diff
Raw Normal View History

From a35af1f174d5582bc70fc50ccf8a6cfc899286aa Mon Sep 17 00:00:00 2001
From: hanjinpeng <hanjinpeng@kylinos.cn>
Date: Wed, 17 Apr 2024 08:49:34 +0800
Subject: [PATCH] fix uwsgi path issue
---
patch_tracking/patch-tracking | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/patch_tracking/patch-tracking b/patch_tracking/patch-tracking
index 587f873..d5794be 100755
--- a/patch_tracking/patch-tracking
+++ b/patch_tracking/patch-tracking
@@ -8,4 +8,4 @@ settings_file='/etc/patch-tracking/settings.conf'
server=`grep 'LISTEN' $settings_file | awk -F'=' '{print $2}' | sed -e 's/^[ ]"//g' | sed -e 's/"$//g'`
-/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
+/usr/sbin/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
--
2.23.0