Update command

This commit is contained in:
PJ 2021-12-10 17:04:26 +01:00
parent 15c819eb96
commit 593a88c8ca
No known key found for this signature in database
GPG Key ID: F345964979FA8971
1 changed files with 1 additions and 1 deletions

View File

@ -54,7 +54,7 @@ purge_skylinks () {
echo ".. ⌁ Purging skylink ${skylink}"
cached_files_command="find ${NGINX_CACHE_DIR} -type f | xargs -r grep -Els '^Skynet-Skylink: ${skylink}'"
echo $cached_files_command
docker exec -it nginx bash -c "${cached_files_command} | xargs -r rm"
bash -c "${cached_files_command} | xargs -r rm"
echo ".. ⌁ Skylink ${skylink} purged"
echo "--------------------------------------------"