[backups] Erreur d'écriture
This commit is contained in:
parent
f587996781
commit
770489aab7
1 changed files with 1 additions and 1 deletions
|
@ -34,7 +34,7 @@ if __name__ == "__main__":
|
||||||
fichier.write("""$Conf{RsyncShareName} = ['%(shares)s'];
|
fichier.write("""$Conf{RsyncShareName} = ['%(shares)s'];
|
||||||
$Conf{BackupFilesExclude} = {
|
$Conf{BackupFilesExclude} = {
|
||||||
%(excludes)s
|
%(excludes)s
|
||||||
};""" % {'shares' : ", ".join(backup_folders.keys()), 'excludes' : "\n ".join(["'%s' => ['lost+found']," % nom for nom in backup_folders.keys()])})
|
};""" % {'shares' : "', '".join(backup_folders.keys()), 'excludes' : "\n ".join(["'%s' => ['lost+found']," % nom for nom in backup_folders.keys()])})
|
||||||
os.chmod(rootpath + hoteRsync + ".pl", 0644)
|
os.chmod(rootpath + hoteRsync + ".pl", 0644)
|
||||||
os.chown(rootpath + hoteRsync + ".pl", root, wwwdata)
|
os.chown(rootpath + hoteRsync + ".pl", root, wwwdata)
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue