Update index.py

This commit is contained in:
midoks
2019-09-13 00:02:55 +08:00
parent 1ab9f17d1d
commit 99576c4492
+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