Skip to content

Instantly share code, notes, and snippets.

@taotetek
Last active May 27, 2016 16:42
Show Gist options
  • Save taotetek/f48faf8f987d4af438979f2f8aff16d3 to your computer and use it in GitHub Desktop.
Save taotetek/f48faf8f987d4af438979f2f8aff16d3 to your computer and use it in GitHub Desktop.
module(
load="imczmq"
servercertpath="/etc/curve.d/server"
clientcertpath="/etc/curve.d/"
authtype="CURVESERVER"
authenticator="on"
)
module(
load="omczmq"
servercertpath="/etc/curve.d/server"
clientcertpath="/etc/curve.d/"
authtype="CURVESERVER"
)
input(type="imczmq" endpoints="@tcp://*:22222" socktype="DISH" topics="topic1,topic2" ruleset="debug")
ruleset(name="debug") {
action(type="omczmq" endpoints="@tcp://*:22223" socktype="RADIO" topics="topic3")
*.* /var/log/debug.log
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment