-
Notifications
You must be signed in to change notification settings - Fork 49
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Pubber endpoint configuration working with mosquitto broker #497
Conversation
bin/test_mosquitto
Outdated
} | ||
EOF | ||
|
||
ps ax | fgrep java | fgrep /tmp/pubber_config.json | fgrep -v grep | awk '{print $1}' | xargs -r kill |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
something like I'm doing eleswhere?
function kill_existing() {
kill $(pgrep -f 'java.*pubber-.*jar')
}
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
done.
"protocol": "mqtt", | ||
"hostname": "mqtt.googleapis.com", | ||
"port": 8883, | ||
"client_id": "prasjdhsadas", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
What is this - just a placeholder?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
The file is just for testing against various kinds of schema violations.... not even sure that it counts as a placeholder.
|
||
sudo touch ${PASSWORD_FILE} | ||
sudo mosquitto_passwd -b ${PASSWORD_FILE} ${USERNAME} ${PASSWORD} | ||
sudo chmod 666 ${PASSWORD_FILE} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Eventually we can't do this kind of stuff
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Which kind of stuff, exactly?
No description provided.