环境
- EMQX 版本:4.4.18
- 操作系统版本:ubuntu22.04
重现此问题的步骤
- ubuntu服务器重启
- mqtt服务自启动失败
mqtt.service
[Unit]
Description=EMQ X Broker
After=network.target
[Service]
Type=forking
Environment=HOME=/home/user/mqtt/emqx
ExecStart=/home/user/mqtt/emqx/bin/emqx start
ExecStop=/home/user/mqtt/emqx/bin/emqx stop
ExecReload=/home/user/mqtt/emqx/bin/emqx restart
[Install]
WantedBy=multi-user.target