diff options
author | nachoparker <nacho@ownyourbits.com> | 2018-10-21 17:48:54 +0300 |
---|---|---|
committer | nachoparker <nacho@ownyourbits.com> | 2018-10-21 17:48:59 +0300 |
commit | d2155b04c92645904156bfce946f91b16c237824 (patch) | |
tree | 9b68f89d0c0b08c93d40a150468d24b0192c4593 | |
parent | b1d5d4d487c47ebfeabbc10d6932fd7ac488294c (diff) |
nc-rsync: dont preserve ACLv0.64.4
-rw-r--r-- | changelog.md | 4 | ||||
-rw-r--r-- | etc/ncp-config.d/nc-rsync-auto.sh | 2 | ||||
-rw-r--r-- | etc/ncp-config.d/nc-rsync.sh | 2 |
3 files changed, 5 insertions, 3 deletions
diff --git a/changelog.md b/changelog.md index 6c8d7837..2ceef756 100644 --- a/changelog.md +++ b/changelog.md @@ -1,5 +1,7 @@ -[v0.64.3](https://github.com/nextcloud/nextcloudpi/commit/7d51f7c) (2018-10-21) nc-rsync: sync datadir, not only content (#686) (#687) +[v0.64.4](https://github.com/nextcloud/nextcloudpi/commit/0bbd7c5) (2018-10-21) nc-rsync: dont preserve ACL + +[v0.64.3 ](https://github.com/nextcloud/nextcloudpi/commit/6fb1c06) (2018-10-21) nc-rsync: sync datadir, not only content (#686) (#687) [v0.64.2 ](https://github.com/nextcloud/nextcloudpi/commit/d6b7267) (2018-10-14) ncp-update-nc: make sure cron.php is not running and there are no pending jobs diff --git a/etc/ncp-config.d/nc-rsync-auto.sh b/etc/ncp-config.d/nc-rsync-auto.sh index 08a5a3d8..449b593f 100644 --- a/etc/ncp-config.d/nc-rsync-auto.sh +++ b/etc/ncp-config.d/nc-rsync-auto.sh @@ -42,7 +42,7 @@ configure() ${SSH[@]} : || { echo "SSH non-interactive not properly configured"; return 1; } } - echo "0 5 */${SYNCDAYS_} * * root /usr/bin/rsync -aAx --delete \"$DATADIR\" \"$DESTINATION_\"" > /etc/cron.d/ncp-rsync-auto + echo "0 5 */${SYNCDAYS_} * * root /usr/bin/rsync -ax --delete \"$DATADIR\" \"$DESTINATION_\"" > /etc/cron.d/ncp-rsync-auto service cron restart echo "automatic rsync enabled" diff --git a/etc/ncp-config.d/nc-rsync.sh b/etc/ncp-config.d/nc-rsync.sh index d92f7e95..d75e7453 100644 --- a/etc/ncp-config.d/nc-rsync.sh +++ b/etc/ncp-config.d/nc-rsync.sh @@ -32,7 +32,7 @@ configure() return 1; } - rsync -aAx --delete "$DATADIR" "$DESTINATION_" + rsync -ax --delete "$DATADIR" "$DESTINATION_" sudo -u www-data php "$BASEDIR"/nextcloud/occ maintenance:mode --off } |