This commit is contained in:
midoks
2022-07-03 22:23:25 +08:00
parent eec656c278
commit 06d5427bb7
4 changed files with 6 additions and 6 deletions
+1 -1
View File
@@ -147,7 +147,7 @@ def initDreplace():
mw.writeFile(getServerDir() + '/sphinx.conf', conf_content)
# systemd
systemDir = '/lib/systemd/system'
systemDir = '/usr/lib/systemd/system'
systemService = systemDir + '/sphinx.service'
systemServiceTpl = getPluginDir() + '/init.d/sphinx.service.tpl'
if os.path.exists(systemDir) and not os.path.exists(systemService):