Big rearrangement to add debconf support.

/etc/default/dump1090-mutability is now generated in postinst,
if it doesn't exist, from a template in /usr/share/dump1090-mutability.
Subsequently, the config file is updated in place if debconf-driven
changes are made.

Static HTML/javascript have moved to a "html" subdir to avoid exposing
the template via the webserver.
This commit is contained in:
Oliver Jowett 2014-12-09 20:36:24 +00:00
parent c712543ee5
commit 125158b30a
9 changed files with 504 additions and 76 deletions

View file

@ -9,5 +9,5 @@ url.redirect += (
alias.url += (
"/dump1090/data/" => "/run/dump1090-mutability/",
"/dump1090/" => "/usr/share/dump1090-mutability/"
"/dump1090/" => "/usr/share/dump1090-mutability/html/"
)