fix #2098 and a typo

The phrasing regarding copying the templates from '/var/lib/pmg/templates'
to '/etc/pmg/templates' caused some confusion [0] and some users thought they
need to copy all templates to '/etc/pmg/templates', even if they only modified
one template. Rephrasing the sentence to speak of a singular template, should
explain the workings better.

Additionally a singular/plural typo was fixed

[0] https://bugzilla.proxmox.com/show_bug.cgi?id=2098 and a few forum-threads

Signed-off-by: Stoiko Ivanov <s.ivanov@proxmox.com>
This commit is contained in:
Stoiko Ivanov 2019-02-27 17:30:01 +01:00 committed by Dietmar Maurer
parent e1afb18145
commit 9dd45bd776

View File

@ -143,8 +143,8 @@ We use a template based approach to generate those files. The {tts} is
a well known, fast and flexible template processing system. You can
find the default templates in `/var/lib/pmg/templates/`. Please do not
modify them directly, because your modification would get lost on the
next update. Instead, copy them to `/etc/pmg/templates/`, then apply
your changes there.
next update. Instead, copy the template you wish to change to
`/etc/pmg/templates/`, then apply your changes there.
Templates can access any configuration setting, and you can use the
`pmgconfig dump` command to get a list of all variable names:
@ -167,7 +167,7 @@ or when you directly edit configuration files
# pmgconfig sync --restart 1
----
Above commands also restarts services if underlying configuration
The above command also restarts services if the underlying configuration
files are changed. Please note that this is automatically done when
you change the configuration using the GUI or API.