Mosquitto reload config file
问题 I want to reload the mosquitto password file when it is changed. Is possible to send SIGHUP ("signal hang up") or some equivalent to mosquitto server on windows? 回答1: It is possible to do so. First you have to set your mosquitto.conf to save the pid in a file by specifying the pid_file. pid_file your/pid/file Then you can call $kill -SIGHUP $(cat your/pid/file). Or else if you already know the PID of the mosquitoo, then you can do $kill -SIGHUP PID This will send sighup signal and reload the