ahupowerdns / metronome

GNU General Public License v2.0
50 stars 22 forks source link

Debian Package overwrites my local changes in /usr/share/metronome/html/local.js #77

Open ZaphodB opened 3 years ago

ZaphodB commented 3 years ago

I have local changes in /usr/share/metronome/html/local.js namely "use strict"; var metronomeServer="/metronome-data/"; to host it behind a reverse proxy but it seems that the debian package update overwrites it to its default.

hi metronome 0.9.0+52.g877231f0d-1pdns.stretch amd64 mini-graphite with builtin webserver and client-side plotting

The Debian way would be to make it a symlink to /etc i suppose. Any chance of mitigating this?

thank you,

Stefan

Habbie commented 3 years ago

Thanks Stefan.

We might have a similar (but harder) problem with graphs.js

pieterlexis commented 3 years ago

You can also move the content of graphs.js into local.js?

There should probably also be a config in local.js to the the IP in the footer of index.html