summarylogtreecommitdiffstats
path: root/10-openssh-mark-sshd-for-restart.hook
blob: a0051706de5b7c2dd5e1de80082d5a752d132e0d (plain)
1
2
3
4
5
6
7
8
9
10
[Trigger]
Operation = Upgrade
Type = Package
Target = openssh

[Action]
Depends = systemd
Description = Marking sshd.service for restart...
When = PreTransaction
Exec = /usr/bin/systemctl --runtime set-property sshd.service Markers=needs-restart