Update index.py

This commit is contained in:
midoks
2022-07-11 19:10:18 +08:00
parent d8222bc273
commit 8495d1e4a5
+1 -3
View File
@@ -120,9 +120,7 @@ def supOp(method):
def start():
initDreplace()
systemDir = mw.systemdCfgDir()
systemService = systemDir + '/supervisor.service'
if os.path.exists(systemService):
if not mw.isAppleSystem():
data = mw.execShell('systemctl start supervisor')
if data[1] == '':
return 'ok'