Package generation fixing
provide version using /osm/static/version

Change-Id: I826d811fe52e7a0d71807dfcbad3e1cebe3a2051
Signed-off-by: tierno <alfonso.tiernosepulveda@telefonica.com>
diff --git a/osm_nbi/html_public/version b/osm_nbi/html_public/version
new file mode 100644
index 0000000..10340c4
--- /dev/null
+++ b/osm_nbi/html_public/version
@@ -0,0 +1,3 @@
+0.1.3
+Apr 2018
+
diff --git a/osm_nbi/nbi.py b/osm_nbi/nbi.py
index aa8105a..c4c61ad 100644
--- a/osm_nbi/nbi.py
+++ b/osm_nbi/nbi.py
@@ -19,7 +19,9 @@
 from os import environ
 
 __author__ = "Alfonso Tierno <alfonso.tiernosepulveda@telefonica.com>"
-__version__ = "0.3"
+
+# TODO consider to remove and provide version using the static version file
+__version__ = "0.1.3"
 version_date = "Apr 2018"
 database_version = '1.0'
 
@@ -396,6 +398,7 @@
 
     @cherrypy.expose
     def version(self, *args, **kwargs):
+        # TODO consider to remove and provide version using the static version file
         global __version__, version_date
         try:
             if cherrypy.request.method != "GET":
diff --git a/osm_nbi/osm-nbi.service b/osm_nbi/osm-nbi.service
index beec648..52ab70b 100644
--- a/osm_nbi/osm-nbi.service
+++ b/osm_nbi/osm-nbi.service
@@ -2,7 +2,7 @@
 Description=NBI server (OSM NBI)
 
 [Service]
-ExecStart=/usr/bin/nbi -c /etc/osm/nbi.cfg --log-file=/var/log/osm/nbi.log
+ExecStart=/usr/bin/nbi.py -c /etc/osm/nbi.cfg --log-file=/var/log/osm/nbi.log
 Restart=always
 
 [Install]