I followed the instructions under https://community.safe.com/s/article/fme-temp-environment-variable and set it in /etc/environment and yet it still uses the default '/tmp/fmeengine/<engine-folder>'.
I have restarted FME Server and the entire server.