Unable to start Elasticsearch 7.4.2 as service while installing with zip file in centos

Great. Wondering why you don't want to use the best practices here.
May be you should look at the script that rpm created and uses them as a template?

I'm not on the ops side so I can't help more I'm afraid. May be others?