Why is running a command as an ephemeral systemd unit better? Just curious, I don't have an opinion one way or the other.
Without knowing more, creating a transient unit just to run a single shell command seems quite roundabout.