[Unit] Description=System Upgrade using DNF failed DefaultDependencies=no [Service] Type=oneshot # Remove the symlink if it's still there, to protect against reboot loops. ExecStart=/usr/bin/rm -fv /system-update # If anything goes wrong, reboot back to the normal system. ExecStart=/usr/bin/systemctl --no-block reboot