From: Waldemar Kozaczuk <jwkozac...@gmail.com>
Committer: Waldemar Kozaczuk <jwkozac...@gmail.com>
Branch: master

Changed httpserver-html5-gui conf location to /etc

Signed-off-by: Waldemar Kozaczuk <jwkozac...@gmail.com>

---
diff --git a/modules/httpserver-html5-gui/module.py b/modules/httpserver-html5-gui/module.py
--- a/modules/httpserver-html5-gui/module.py
+++ b/modules/httpserver-html5-gui/module.py
@@ -8,18 +8,18 @@
 usr_files = FileMap()
usr_files.add(os.path.join(_module, 'swagger-ui', 'dist')).to('/usr/mgmt/swagger-ui/dist')
 usr_files.add(os.path.join(_module, 'osv-gui/public')).to('/usr/mgmt/gui')
-usr_files.add(os.path.join(_module, 
'httpserver.conf')).to('/tmp/httpserver.conf')
+usr_files.add(os.path.join(_module, 
'httpserver.conf')).to('/etc/httpserver.conf')

 api.require('httpserver-api')

 # httpserver will run regardless of an explicit command line
 # passed with "run.py -e".
-_exe = '/libhttpserver.so'
+_exe = '/libhttpserver-api.so --config-file=/etc/httpserver.conf'
 daemon = api.run_on_init(_exe + ' &!')

 fg = api.run(_exe)

 fg_ssl = api.run(_exe + ' --ssl')
 fg_cors = api.run(_exe + ' --access-allow=true')

-default = daemon
\ No newline at end of file
+default = daemon

--
You received this message because you are subscribed to the Google Groups "OSv 
Development" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to osv-dev+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to