I’ve not read all of it, but if you’re referring to the stuff at the beginning - none of those limitations apply to 5700xt.
If you mean something else - then, naturally, I would ask if it actually affects your media in the first place. It might, but I wouldn’t expect that.
I realise I’m late to the party and you’ve alreadu gone the systemd unit way, but had your script trapped sigterm to begin with?