Merge branch 'master' into debian
This commit is contained in:
commit
ebbca02db5
|
@ -18,6 +18,12 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|||
|
||||
### Security
|
||||
|
||||
## [2.3.3] - 2020-05-28
|
||||
|
||||
### Fixed
|
||||
|
||||
* On sync, add trailing slash to rsync command
|
||||
|
||||
## [2.3.2] - 2020-05-03
|
||||
|
||||
### Changed
|
||||
|
|
|
@ -29,7 +29,7 @@ fi
|
|||
rsync -a "${jail_path}/" "${NODE}:${jail_path}/" --exclude proc/* --exclude sys/* --exclude dev/* --exclude run --exclude var/backup/*
|
||||
# Sync config (new structure)
|
||||
if [ -d "${jail_config_dir}" ]; then
|
||||
rsync -a --delete "${jail_config_dir}" "${NODE}:${jail_config_dir}"
|
||||
rsync -a --delete "${jail_config_dir}/" "${NODE}:${jail_config_dir}/"
|
||||
else
|
||||
ssh "${NODE}" "rm -rf ${jail_config_dir}" | debug
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue