Discussed with @jredrejo
We might not be benefiting from /etc/default/kolibri at all - the code can be moved to /etc/init.d/kolibri which initially sources it.
- This will reduce a layer
- This will also reduce a "configuration madness" vector: We don't encourage anyone to put configuration in
/etc/default/kolibri, but we still risk that they'll go and do it anyways :)
I wrongfully discouraged using this file, as I have seen it change during .deb upgrades. But actually in the background info I can find on this location, people actually wanted this directory to discourage editing of the init.d scripts themselves :)
https://askubuntu.com/questions/429592/what-is-the-purpose-of-etc-default
Discussed with @jredrejo
We might not be benefiting from
/etc/default/kolibriat all - the code can be moved to/etc/init.d/kolibriwhich initially sources it./etc/default/kolibri, but we still risk that they'll go and do it anyways :)I wrongfully discouraged using this file, as I have seen it change during .deb upgrades. But actually in the background info I can find on this location, people actually wanted this directory to discourage editing of the init.d scripts themselves :)
https://askubuntu.com/questions/429592/what-is-the-purpose-of-etc-default