vhost-stack/systemd/vhost-reload-varnish.path
2023-05-12 16:13:31 -07:00

12 lines
234 B
SYSTEMD

[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=multi-user.target