# Reload systemd services on package upgrades [Trigger] Operation = Upgrade Type = Package Target = dnsmasq [Action] Description = Restarting dnsmasq service Depends = systemd When = PostTransaction Exec = /etc/pacman.d/scripts/restart-hook dnsmasq.service