From 50a31dbaf3b519e3be94d7bd8f77c6ec4bb32ec8 Mon Sep 17 00:00:00 2001 From: midoks Date: Fri, 17 Jun 2022 14:27:29 +0800 Subject: [PATCH] Update index.py --- plugins/supervisor/index.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/plugins/supervisor/index.py b/plugins/supervisor/index.py index baf92b737..3ad9a48c0 100755 --- a/plugins/supervisor/index.py +++ b/plugins/supervisor/index.py @@ -79,8 +79,8 @@ def status(): def initDreplace(): - confD = etServerDir() + "/conf.d" - conf = etServerDir() + "//supervisor.conf" + confD = getServerDir() + "/conf.d" + conf = getServerDir() + "/supervisor.conf" systemDir = '/lib/systemd/system' systemService = systemDir + '/supervisor.service' systemServiceTpl = getPluginDir() + '/init.d/supervisor.service'