Merge pull request 'Use full path when excluding dirs from rsync' (#5) from mechnich/ttrss-docker-compose:fix-rsync-on-startup into static-dockerhub

Reviewed-on: https://dev.tt-rss.org/tt-rss/ttrss-docker-compose/pulls/5
pull/7/head
fox 2 years ago
commit f53c8c01f1

@ -35,13 +35,13 @@ else
chown -R $OWNER_UID:$OWNER_GID $DST_DIR chown -R $OWNER_UID:$OWNER_GID $DST_DIR
sudo -u app rsync -a --delete \ sudo -u app rsync -a --delete \
--exclude cache \ --exclude /cache \
--exclude lock \ --exclude /lock \
--exclude feed-icons \ --exclude /feed-icons \
--exclude plugins/af_comics/filters.local \ --exclude /plugins/af_comics/filters.local \
--exclude plugins.local \ --exclude /plugins.local \
--exclude templates.local \ --exclude /templates.local \
--exclude themes.local \ --exclude /themes.local \
$SRC_DIR/ $DST_DIR/ $SRC_DIR/ $DST_DIR/
sudo -u app rsync -a --delete \ sudo -u app rsync -a --delete \

Loading…
Cancel
Save