From 0bc5edd8d6955234f29a27695dfd880c471f9006 Mon Sep 17 00:00:00 2001 From: Nicola Peditto Date: Wed, 19 Apr 2017 18:47:21 +0200 Subject: [PATCH] Iotronic Home set. Change-Id: I7578e1d070db545f453d9ef3d6ab6e1b1ff9a4c9 --- README.rst | 9 +++++---- etc/iotronic/iotronic.conf | 2 +- iotronic_lightningrod/config.py | 2 +- plugins.example.json | 7 +++++++ settings.example.json | 13 +++++++++++++ 5 files changed, 27 insertions(+), 6 deletions(-) create mode 100644 plugins.example.json create mode 100644 settings.example.json diff --git a/README.rst b/README.rst index 7a5e710..7c8517c 100644 --- a/README.rst +++ b/README.rst @@ -2,10 +2,11 @@ Iotronic Lightning-rod Agent =============================== -Python implementation of Lightning-rod Agent, -the Stack4Things (http://stack4things.unime.it/) board-side probe. +Python implementation of Lightning-rod Agent, the Stack4Things +board-side probe. -* Free software: Apache license +* Free software: Apache 2.0 license +* Website: http://stack4things.unime.it/ * Documentation: http://docs.openstack.org/developer/iotronic_lightningrod * Source: https://github.com/openstack/iotronic-lightning-rod * Bugs: https://bugs.launchpad.net/iotronic-lightning-rod @@ -13,4 +14,4 @@ the Stack4Things (http://stack4things.unime.it/) board-side probe. Features -------- -* TODO \ No newline at end of file +* TODO diff --git a/etc/iotronic/iotronic.conf b/etc/iotronic/iotronic.conf index cdf00d5..b4ee0b0 100644 --- a/etc/iotronic/iotronic.conf +++ b/etc/iotronic/iotronic.conf @@ -1,3 +1,3 @@ [DEFAULT] debug = True -log_file = /var/log/s4t-lightning-rod.log +log_file = /var/log/iotronic/lightning-rod.log diff --git a/iotronic_lightningrod/config.py b/iotronic_lightningrod/config.py index 85c56ce..be63349 100644 --- a/iotronic_lightningrod/config.py +++ b/iotronic_lightningrod/config.py @@ -25,4 +25,4 @@ entry_points_name = \ package_path = os.path.join(dist.location, __package__) # Iotronic home folder -iotronic_home = "/opt/stack4things/iotronic" +iotronic_home = "/var/lib/iotronic" diff --git a/plugins.example.json b/plugins.example.json new file mode 100644 index 0000000..cd8b750 --- /dev/null +++ b/plugins.example.json @@ -0,0 +1,7 @@ +{ + "plugins": { + "zero": { + "autostart": "false" + } + } +} \ No newline at end of file diff --git a/settings.example.json b/settings.example.json new file mode 100644 index 0000000..50ff434 --- /dev/null +++ b/settings.example.json @@ -0,0 +1,13 @@ +{ + "iotronic": { + "node": { + "code": "" + }, + "wamp": { + "registration-agent": { + "url": "ws://:/", + "realm": "" + } + } + } +} \ No newline at end of file