Adding support for red hat 9 distros

This commit is contained in:
Tyler Hale 2022-07-08 05:38:30 -06:00
parent 2e71fa3507
commit e29bf02832
Signed by: Tyler
GPG key ID: C7CC4B910D88EF96

View file

@ -0,0 +1,2 @@
[Service]
ExecStartPost=/bin/sh -ec 'dnf needs-restarting -r | grep -q "Reboot is req.*" && shutdown -r +5 Rebooting after applying package updates || exit 0'