yunohost/data
Jérôme Lebleu 2309405e98 [enh] Refactor the conf regen for better conflicts handle
It rewrites some parts of the conf regen but try to keep as much as possible
the same logic - to prevent a too big refactoring. The main change is that
configuration file regen is now handle by service_regen_conf directly.

Hooks are now called twice with the following arguments respectively:
 * `"pre" $force $pending_dir`: it's time for the script to generate and put
   each configuration file to update/remove into `$pending_dir` with the
   right directory tree. To remove one, just touch an empty file.
 * `"post" $force`: this second time, the script may restart services, fix
   permissions, clean, ...

Between this two executions, the service_regen_conf will look for any files
under the `$pending_dir` and safely process them - either create, update or
remove the proper system configuration.
2016-04-11 17:11:41 +02:00
..
actionsmap [enh] Refactor the conf regen for better conflicts handle 2016-04-11 17:11:41 +02:00
bash-completion.d [enh] Add bash completion for bin/yunohost 2015-11-13 13:21:30 +01:00
helpers.d [fix] Improve control file management in equivs helper 2016-04-04 20:18:09 +02:00
hooks [fix] Use rspamd local.d folder to allow users to override the defaults 2016-03-28 19:21:43 +02:00
other [enh] Remove unused checkupdate and upgrade scripts 2016-03-14 08:58:06 +01:00
templates [fix] Use rspamd local.d folder to allow users to override the defaults 2016-03-28 19:21:43 +02:00
helpers [fix] follow up directory move /usr/share/yunohost/helpers 2016-03-12 00:15:15 +01:00