|
|
@ -574,7 +574,7 @@ def makeLsyncdConf(data): |
|
|
|
content += "\t\tcompress = " + t['rsync']['compress'] + ",\n" |
|
|
|
content += "\t\tcompress = " + t['rsync']['compress'] + ",\n" |
|
|
|
content += "\t\t_extra = {\"--bwlimit=" + t['rsync'][ |
|
|
|
content += "\t\t_extra = {\"--bwlimit=" + t['rsync'][ |
|
|
|
'bwlimit'] + "\", --port=\"" + str(t['rsync']['port']) + "\"}\n" |
|
|
|
'bwlimit'] + "\", --port=\"" + str(t['rsync']['port']) + "\"}\n" |
|
|
|
content += "\t\tpassword-file=\"" + cmd_pass + "\",\n" |
|
|
|
content += "\t\tpassword-file = \"" + cmd_pass + "\",\n" |
|
|
|
|
|
|
|
|
|
|
|
content += "\t}\n" |
|
|
|
content += "\t}\n" |
|
|
|
|
|
|
|
|
|
|
|