Debian places Munin plugins in /usr/share/munin/plugins/
by default, and links the active ones from /etc/munin/plugins/
.
Now I have a custom plugin and I'm not sure where to place it. I'm afraid that during a software upgrade, apt
might automatically delete files in /etc/munin/plugins/
and assume they can be recreated, as by default these are all just links. I'm also afraid that my plugin could be automatically deleted during and upgrade if I place it in /usr/share/munin/plugins/
, as apt
may assume that all files contained there are extracted from the Munin packages, and hence can be deleted and replaced by the updated package.
Best practices?