Wouldn't the proper way to fix this be to create a way to programmatically manage users without reloading?
Josh Hawley Hawley Hosting jhaw...@hawleyhosting.com From: mosquitto-users-bounces+jhawley=hawleyhosting....@lists.launchpad.net [mailto:mosquitto-users-bounces+jhawley=hawleyhosting.com@lists.launchpa d.net] On Behalf Of saurabh patil Sent: Tuesday, December 04, 2012 12:00 AM To: andypipe...@gmail.com Cc: mosquitto-users Subject: Re: [Mosquitto-users] Sending reload signals from java I am adding and removing some user credentials in password file at run time. I want mosquitto to reload the configuration file after adding a particular number of users to the password file. If I understand correctly reloading mosquitto configuration file will also reload password file. Please correct me if I am wrong. I do have PID for the mosquitto but the problem is, on Linux I can use kill command to send SIGHUP signal to mosquitto but I am not getting any way to make it on Windows. I want to do this on Windows without restarting mosquitto. Thanks, Saurabh On Tue, Dec 4, 2012 at 1:10 PM, andypipe...@gmail.com <andypipe...@gmail.com> wrote: I'm not sure I understand - why would you need to do this? Restarting the broker should probably be an administrative task rather than a programmatic one? At a high level I guess it should be as simple as: find PID of mosquitto; send SIGHUP. But I really would like to understand the use case. Do you have a problem with mosquitto that leads you to periodically reload the broker? On Tue, Dec 4, 2012 at 7:59 AM, saurabh patil <saurabhpatil...@gmail.com> wrote: Hi All, Kindly provide solution for both Windows and Linux platform. With regards, Saurabh On Tue, Dec 4, 2012 at 12:23 PM, saurabh patil <saurabhpatil...@gmail.com> wrote: Hi All, Have any one tried sending reload signal to mosquitto process from java.if yes kindly share it. thanks in advance. With regards, saurabh -- saurabh -- Mailing list: https://launchpad.net/~mosquitto-users <https://launchpad.net/%7Emosquitto-users> Post to : mosquitto-users@lists.launchpad.net Unsubscribe : https://launchpad.net/~mosquitto-users <https://launchpad.net/%7Emosquitto-users> More help : https://help.launchpad.net/ListHelp -- Andy Piper | Farnborough, Hampshire (UK) blog: http://andypiper.co.uk | skype: andypiperuk twitter: @andypiper | images: http://www.flickr.com/photos/andypiper -- Mailing list: https://launchpad.net/~mosquitto-users <https://launchpad.net/%7Emosquitto-users> Post to : mosquitto-users@lists.launchpad.net Unsubscribe : https://launchpad.net/~mosquitto-users <https://launchpad.net/%7Emosquitto-users> More help : https://help.launchpad.net/ListHelp -- saurabh
-- Mailing list: https://launchpad.net/~mosquitto-users Post to : mosquitto-users@lists.launchpad.net Unsubscribe : https://launchpad.net/~mosquitto-users More help : https://help.launchpad.net/ListHelp