I think we're getting there
This commit is contained in:
@@ -11,8 +11,8 @@
|
||||
# Here's a (hopefully self-explanatory) example:
|
||||
# subscribe:
|
||||
# - topic: mytopic
|
||||
# exec: /usr/local/bin/mytopic-triggered.sh
|
||||
# command: /usr/local/bin/mytopic-triggered.sh
|
||||
# - topic: myserver.com/anothertopic
|
||||
# exec: 'echo "$message"'
|
||||
# command: 'echo "$message"'
|
||||
#
|
||||
# subscribe:
|
||||
|
||||
@@ -7,8 +7,8 @@ const (
|
||||
type Config struct {
|
||||
DefaultHost string
|
||||
Subscribe []struct {
|
||||
Topic string
|
||||
Exec string
|
||||
Topic string
|
||||
Command string
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user