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