From e9efc4cc3512bd0ce1ab6c8dc528af8a04dc6021 Mon Sep 17 00:00:00 2001 From: Mr Chen Date: Sun, 24 Nov 2024 06:18:15 +0800 Subject: [PATCH] Update index.py --- plugins/supervisor/index.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/supervisor/index.py b/plugins/supervisor/index.py index 0fe4780b8..b1d4fbbb7 100755 --- a/plugins/supervisor/index.py +++ b/plugins/supervisor/index.py @@ -107,7 +107,7 @@ def initDreplace(): mw.writeFile(conf, conf_content) if os.path.exists(systemDir) and not os.path.exists(systemService): - activate_file = mw.getRunDir() + '/bin/activate' + activate_file = mw.getPanelDir() + '/bin/activate' if os.path.exists(activate_file): supervisord_bin = mw.execShell( 'source ' + activate_file + '&& which supervisord')[0].strip()