Joe Ijam
Joe Ijam

Reputation: 2179

How to make Laravel run MQTT listener or subscribe

Currently I am running using command php arisan start.listening.mqtt. However, it will be killed if no more active on the screen. So can any one suggest a better way for 2 objective

  1. Run the MQTT listener as background process through Laravel code
  2. When the server reboot, it is started automatically.

Currenly I am using AWS Ubuntu server to run Mosquitto

Upvotes: 0

Views: 405

Answers (0)

Related Questions