mirror of
https://github.com/midoks/mdserver-web.git
synced 2026-10-10 04:19:26 +08:00
Update index.py
This commit is contained in:
@@ -126,6 +126,9 @@ def initDreplace():
|
||||
public.writeFile(file_bin, content)
|
||||
public.execShell('chmod +x ' + file_bin)
|
||||
|
||||
if os.path.exists('/usr/lib/systemd/system/rsyncd.service'):
|
||||
public.execShell('rm -rf /usr/lib/systemd/system/rsyncd*')
|
||||
|
||||
return file_bin
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user