mirror of
https://github.com/midoks/mdserver-web.git
synced 2026-10-15 16:09:26 +08:00
Update index.py
This commit is contained in:
@@ -514,7 +514,7 @@ def makeLsyncdConf(data):
|
||||
lsyncd_data = data['send']
|
||||
lsyncd_setting = lsyncd_data['default']
|
||||
|
||||
content = "setting {\n"
|
||||
content = "settings {\n"
|
||||
for x in lsyncd_setting:
|
||||
v = lsyncd_setting[x]
|
||||
# print(v, type(v))
|
||||
@@ -567,7 +567,7 @@ def makeLsyncdConf(data):
|
||||
content += "\texclude = " + exclude_str + ",\n"
|
||||
|
||||
# rsync
|
||||
content += "\trsync{\n"
|
||||
content += "\trsync {\n"
|
||||
content += "\t\tbinary = \"" + rsync_bin + "\",\n"
|
||||
content += "\t\tarchive = true,\n"
|
||||
content += "\t\tverbose = true,\n"
|
||||
|
||||
Reference in New Issue
Block a user