Skip to content

Commit

Permalink
Merge pull request #190 from WebPlatformForEmbedded/development/METRO…
Browse files Browse the repository at this point in the history
…L-557-location-message

Development/metrol 557 location message
  • Loading branch information
bramoosterhuis authored Oct 14, 2022
2 parents 0c90e82 + d494fe0 commit 5d928b3
Show file tree
Hide file tree
Showing 2 changed files with 31 additions and 0 deletions.
8 changes: 8 additions & 0 deletions LocationSync/LocationSync.conf.in
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
autostart = "@PLUGIN_LOCATIONSYNC_AUTOSTART@"

configuration = JSON()

configuration.add("interval", 10)
configuration.add("retries", 20)
configuration.add("source", "@PLUGIN_LOCATIONSYNC_URI@")

23 changes: 23 additions & 0 deletions MessageControl/MessageControl.conf.in
Original file line number Diff line number Diff line change
@@ -0,0 +1,23 @@
autostart = "@PLUGIN_MESSAGECONTROL_AUTOSTART@"

configuration = JSON()

if boolean("@PLUGIN_MESSAGECONTROL_CONSOLE@"):
configuration.add("console", "@PLUGIN_MESSAGECONTROL_CONSOLE@")

if boolean("@PLUGIN_MESSAGECONTROL_SYSLOG@"):
configuration.add("syslog", "@PLUGIN_MESSAGECONTROL_SYSLOG@")

if boolean("@PLUGIN_MESSAGECONTROL_FILENAME@"):
configuration.add("filepath", "@PLUGIN_MESSAGECONTROL_FILENAME@")

if boolean("@PLUGIN_MESSAGECONTROL_ABBREVIATED@"):
configuration.add("abbreviated", "@PLUGIN_MESSAGECONTROL_ABBREVIATED@")

configuration.add("maxexportconnections", "@PLUGIN_MESSAGECONTROL_MAX_EXPORTCONNECTIONS@")

if boolean("@PLUGIN_MESSAGECONTROL_REMOTE@"):
remote = JSON()
remote.add("port", "@PLUGIN_MESSAGECONTROL_PORT@")
remote.add("binding", "@PLUGIN_MESSAGECONTROL_BINDING@")
configuration.add("remote", remote)

0 comments on commit 5d928b3

Please sign in to comment.