Adding template for Fedora36
This commit is contained in:
parent
ed5d3a63be
commit
a0075fd8ed
1 changed files with 2 additions and 0 deletions
2
roles/base/templates/dnf-automatic-install.service-36.j2
Normal file
2
roles/base/templates/dnf-automatic-install.service-36.j2
Normal 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'
|
Loading…
Reference in a new issue