Overview
This article provides a guideline how to handle:
- config file rewrites, like for /etc/dhcp/dhcpd.conf
- updates, when special actions are required during update process, like: changing config files, changing .env file, run some artisan commands, or update DB schema
Config File Handling Rules
Never rewrite config files from other packages, like /etc/dhcp/dhcpd.conf
Instead provide a new config file, like /etc/dhcp/nmsprime/dhcpd.conf
and document how to include this file, like: "Add following line to /etc/dhcp/dhcpd.conf":include "/etc/dhcp/nmsprime/dhcpd.conf";
- If possible use the conf.d/* directories from other packages, like /etc/httpd/conf.d
Do not rewrite other config file packages!