Update index.py

This commit is contained in:
midoks
2019-09-13 00:02:55 +08:00
parent a223f1e722
commit 7c3ba76494
+3
View File
@@ -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