Can not run elasticsearch as root for elasticsearch 7.6.0 in linux

Why not use the DEB or RPM, it includes all the service files and users it needs.