Created
April 13, 2020 13:06
-
-
Save yaroot/387ad777703cd78b5caf74b73c4b61b6 to your computer and use it in GitHub Desktop.
varnish discard old config
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
varnishadm vcl.list | grep '/cold' | awk '{print $4}' | parallel -j 1 varnishadm vcl.discard |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment