Created
August 10, 2020 08:29
-
-
Save Himstar8/69a694201ba37c0c1e0f58d60e9c7f26 to your computer and use it in GitHub Desktop.
Use varnishadm to reload varnish config
This file contains hidden or 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/bash | |
TIME=$(date +%s) | |
varnishadm vcl.load r_$TIME /etc/varnish/default.vcl | |
varnishadm vcl.use r_$TIME |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment