Skip to content

Commit

Permalink
ansible: Delete old nigiri cache to save space
Browse files Browse the repository at this point in the history
  • Loading branch information
jbruechert committed Feb 28, 2024
1 parent 3d73a10 commit e5c985a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ansible/roles/rsync/files/motis-update-feeds.sh
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ if [ -z "$(ls -A /srv/rsync/transitous/)" ]; then
exit 0
fi

rm /var/lib/motis/data/nigiri/ -rf
cp -r /srv/rsync/transitous/* /var/lib/motis/
chown motis:motis -R /var/lib/motis/data/

Expand Down

0 comments on commit e5c985a

Please sign in to comment.