vhost-stack/systemd/vhost-reload-varnish.path

12 lines
231 B
SYSTEMD
Raw Normal View History

[Unit]
Description="Reload Varnish on changes to site configs"
After=varnish.service
[Path]
PathChanged=/etc/varnish/sites.d/
PathChanged=/etc/varnish/sites.vcl
Unit=vhost-reload-varnish.service
[Install]
WantedBy=default.target