emq 做开机启动时,不成功,报错

我使用的是centos7,emq5.2.1 使用的是 tar.gz 安装包安装的。
systemctl status emqx.service
● emqx.service - emqx
Loaded: loaded (/usr/lib/systemd/system/emqx.service; enabled; vendor preset: disabled)
Active: failed (Result: exit-code) since 五 2023-12-22 05:29:09 EST; 7h left
Process: 1074 ExecStart=/home/emqx start (code=exited, status=203/EXEC)

12月 22 05:29:09 localhost.localdomain systemd[1]: Starting emqx…
12月 22 05:29:09 localhost.localdomain systemd[1]: emqx.service: control pro…
12月 22 05:29:09 localhost.localdomain systemd[1]: Failed to start emqx.
12月 22 05:29:09 localhost.localdomain systemd[1]: Unit emqx.service entered…
12月 22 05:29:09 localhost.localdomain systemd[1]: emqx.service failed.

请参考 常见问题汇总
并收集日志

这个是设置开机启动时候,控制台报的错。还没到emq呢

journalctl -xeu emqx.service

journalctl -xeu emqx.service
– Defined-By: systemd
– Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel

– Unit emqx.service has begun starting up.
12月 21 21:36:42 localhost.localdomain systemd[2939]: Failed at step EXEC spawning /home/emqx: Permission denied
– Subject: Process /home/emqx could not be executed
– Defined-By: systemd
– Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel

– The process /home/emqx could not be executed and failed.

– The error number returned by this process is 13.
12月 21 21:36:42 localhost.localdomain systemd[1]: emqx.service: control process exited, code=exited status=203
12月 21 21:36:42 localhost.localdomain systemd[1]: Failed to start emqx.
– Subject: Unit emqx.service has failed
– Defined-By: systemd
– Support: http://lists.freedesktop.org/mailman/listinfo/systemd-devel

– Unit emqx.service has failed.

– The result is failed.
12月 21 21:36:42 localhost.localdomain systemd[1]: Unit emqx.service entered failed state.
12月 21 21:36:42 localhost.localdomain systemd[1]: emqx.service failed.
lines 21-43/43 (END)

报错信息如上所示

/home/emqx 没有可执行权限。
直接用 emqx console 命令或者 emqx start 命令能起来么?

emqx 的安装方式?
此外 systemd service 请检查下能否正常使用

emqx start 可以正常启动

emq 使用的是centos7, emq5.2.1 使用的是 tar.gz 安装包安装的

显示 systemd service
-bash: systemd: 未找到命令

我是说 /usr/lib/systemd/system/emqx.service 这个 service unit 文件的正确性