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