Update index.py
This commit is contained in:
parent
16e35935f9
commit
45ff09dadb
|
|
@ -596,6 +596,7 @@ def makeLsyncdConf(data):
|
|||
cmd_exclude_txt += x + "\n"
|
||||
mw.writeFile(cmd_exclude, cmd_exclude_txt)
|
||||
cmd_pass = name_dir + "/pass"
|
||||
mw.execShell("chmod 755 " + cmd_pass)
|
||||
mw.writeFile(cmd_pass, t['password'])
|
||||
mw.execShell("chmod 600 " + cmd_pass)
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue