From e639fc574625bb4891b80b084da5460733ffc2b7 Mon Sep 17 00:00:00 2001 From: Mr Chen Date: Sun, 1 Dec 2024 22:01:45 +0800 Subject: [PATCH] Update index.py --- plugins/mtproxy/index.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/plugins/mtproxy/index.py b/plugins/mtproxy/index.py index df7aef97c..911e1cfa3 100755 --- a/plugins/mtproxy/index.py +++ b/plugins/mtproxy/index.py @@ -71,7 +71,8 @@ def status(): def getServiceFile(): - return '/usr/lib/systemd/system/mtproxy.service' + systemDir = mw.systemdCfgDir() + return systemDir+'/mtproxy.service' def initDreplace():