Open petersilva opened 6 years ago
if you try to remove a configuration and the configuration is not valid/correct, the remove fails and it prints an error message. It should give up on clearing out broker resource, and remove files in ~/.cache/sarra, and ~/.config/sarra
blacklab% sr_poll remove awsnexrad.conf 2018-08-14 23:20:35,807 [ERROR] destination option incorrect or missing
Usage: sr_poll [OPTIONS] configfile [foreground|start|stop|restart|reload|status|cleanup|setup]
version: 2.18.08b1
Poll a remote server to produce announcements of new files appearing there
poll.conf file settings, MANDATORY ones must be set for a valid configuration:
AMQP broker settings: post_broker amqp{s}://user>:<pw>@<brokerhost[:port]/ (default: amqp://anonymous:anonymous@dd.weather.gc.ca/ )
AMQP Queue bindings: postexchange (default: xreport for feeders, xs) topic_prefix (invariant prefix, currently v02.report) subtopic (MANDATORY)
if you try to remove a configuration and the configuration is not valid/correct, the remove fails and it prints an error message. It should give up on clearing out broker resource, and remove files in ~/.cache/sarra, and ~/.config/sarra
blacklab% sr_poll remove awsnexrad.conf 2018-08-14 23:20:35,807 [ERROR] destination option incorrect or missing
Usage: sr_poll [OPTIONS] configfile [foreground|start|stop|restart|reload|status|cleanup|setup]
version: 2.18.08b1
poll.conf file settings, MANDATORY ones must be set for a valid configuration:
AMQP broker settings: post_broker amqp{s}://user>:<pw>@<brokerhost[:port]/
(default: amqp://anonymous:anonymous@dd.weather.gc.ca/ )
AMQP Queue bindings: postexchange (default: xreport for feeders, xs )
topic_prefix (invariant prefix, currently v02.report)
subtopic (MANDATORY)