mirror of
https://github.com/midoks/mdserver-web.git
synced 2026-10-10 01:29:26 +08:00
Update index.py
This commit is contained in:
@@ -145,8 +145,7 @@ def initDreplace():
|
||||
return file_bin
|
||||
|
||||
|
||||
def rsyncOp(method)
|
||||
|
||||
def rsyncOp(method):
|
||||
file = initDreplace()
|
||||
if not mw.isAppleSystem():
|
||||
data = mw.execShell('systemctl ' + method + ' rsyncd')
|
||||
|
||||
Reference in New Issue
Block a user