diff --git a/plugins/memcached/index.py b/plugins/memcached/index.py index 6c0663fae..c51dbc9e2 100755 --- a/plugins/memcached/index.py +++ b/plugins/memcached/index.py @@ -56,7 +56,7 @@ def status(): def initDreplace(): file_tpl = getConf() - service_path = os.path.dirname(os.getcwd()) + service_path = public.getServerDir() initD_path = getServerDir() + '/init.d' if not os.path.exists(initD_path):