Koozali.org: home of the SME Server
Legacy Forums => General Discussion (Legacy) => Topic started by: Bill on September 06, 2003, 05:53:00 PM
-
If I create a custom template that has no standard template entry will that template be found and expanded when running a conf update? Or should I put the custom fragments in the templates dir?
TIA
Bill
-
If you create a custom template for an existing configuration file, even if there is no corresponding standard template fragment, it will be processed. For example, if you create a fragment "15mycode" in the templates-custom/etc/hosts directory, it will be processed along with the other fragments.
If you create templates, custom or otherwise, for config files that don't already exist as templates -- for example, for /etc/rsyncd.conf -- then you have to create the appropriate action script in /etc/e-smith/events/actions, and also link that action into the appropriate event directories.