We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d49dda8 commit a31a282Copy full SHA for a31a282
SPECS/update-motd.spec
@@ -52,16 +52,16 @@ elif [ "$1" = "2" ]; then
52
ln -snf /var/lib/update-motd/motd /etc/motd
53
fi
54
55
-%systemd_post update-motd.service sshd.socket
+%systemd_post update-motd.service
56
57
%preun
58
-%systemd_preun update-motd.service sshd.socket
+%systemd_preun update-motd.service
59
60
%postun
61
systemctl daemon-reload >/dev/null 2>&1 || :
62
if [ $1 -ge 1 ] ; then
63
# 1 = Package upgrade, not uninstall
64
- systemctl try-restart update-motd.service sshd.socket --no-block >/dev/null 2>&1 || :
+ systemctl try-restart update-motd.service --no-block >/dev/null 2>&1 || :
65
66
67
0 commit comments