Shut down mosquitto ?

Asked by cogitoergosum

I know, this is a stupid question. But, how do I stop the broker ? Even if I kill the process, it starts up again.

Question information

Language:
English Edit question
Status:
Solved
For:
mosquitto Edit question
Assignee:
No assignee Edit question
Solved by:
Roger Light
Solved:
Last query:
Last reply:
Revision history for this message
Best Roger Light (roger.light) said :
#1

I presume you're using the Ubuntu packages because that's how they are made. They make use of a feature of the upstart init daemon to restart automatically - this should give a more reliable service in case of crashes.

If you want to disable it I believe you need to run "sudo stop mosquitto" (where "stop" is a symlink to initctl, the tool used to interact with upstart), but I can't be completely certain because I can't access a machine with Ubuntu right at the moment.

Revision history for this message
cogitoergosum (nags) said :
#2

Yes, that command helps. Thank you, Roger !