I see a number of explanations referring to resizing swap partitions; however, I cannot find one that explains how to "resize" an existing swap file.
My existing /swapfile1 is 512 MB.
I want to increase it to 1 GB.
Is it simpler to create a new swap file and delete this one following instructions here How to increase swap space on RHEL7