Skip to content

Commit

Permalink
Add size-only option to mastodon data sync
Browse files Browse the repository at this point in the history
  • Loading branch information
dhelonious committed Sep 21, 2024
1 parent ff83334 commit 5937c1e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/mastodon/mastodon.env
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,7 @@ fix_daemon_user_media_dir() {
}

update_mastodon_files() {
run_as_daemon_user rsync -rl --delete --force --chmod g+rw --chown=$DAEMON_USER:root --exclude="\..+.rb\..+" "$SNAP/mastodon" "$SNAP_DATA"
run_as_daemon_user rsync -rl --size-only --delete --force --chmod g+rw --chown=$DAEMON_USER:root --exclude="\..+.rb\..+" "$SNAP/mastodon" "$SNAP_DATA"
update_bundle_path
link_media_dir
}
Expand Down

0 comments on commit 5937c1e

Please sign in to comment.