icinga-packaging
icinga-packaging copied to clipboard
Better solution for sysconfig defaults and systemd units
trafficstars
While working on https://github.com/Icinga/deb-icinga2/issues/4 I noticed a difference in how environment defaults work.
RPM: /etc/sysconfig/icinga2
Debian: /etc/default/icinga / /usr/lib/icinga2/icinga2
We should update this for both systems:
- Compiled in defaults should be installed under
/usr/lib/icinga2/environment /etc/{sysconfig,default}/icinga2should only be a placeholder for user changes- Add this behavior for RPM
- Drop custom systemd files/defaults for Debian
This is for >= 2.9
@htriem Shall we do this and why (not)?
I'd agree that it is a lot cleaner in the way @lazyfrosch described it. However, especially with dropping the systemd-files, this should be a feature for the next major.