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/bash | |
# | |
# reload active vcl | |
# Sometimes, vcl_init needs to be re-run by reloading the active vcl. | |
# For example, a geoip database is loaded in vcl_init. When the database is updated, | |
# vcl_init needs to be re-run. | |
# | |
# This script saves the currently active vcl to a shell variable, and reloads it to varnish | |
# Wislon Sun <wilson.sun330@gmail> | |
# |