Skip to content

Commit

Permalink
docs: new logrotate configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
RobHooper committed Apr 24, 2024
1 parent 31aa3e9 commit 0411cf8
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 1 deletion.
12 changes: 12 additions & 0 deletions docs/develop/update/languages.rst
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,18 @@ To override or lock the version, update the server's Pillar file:
php:
version: '8.1'
Add, :doc:`Logrotate<logs>` configuration to manage PHP site logs:

.. code-block:: yaml
logrotate:
conf:
php-site-logs:
source: php-site-logs
context:
php_version: '8.1'
Configure Node.js
-----------------

Expand Down
5 changes: 4 additions & 1 deletion docs/develop/update/logs.rst
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,9 @@ For example:
logrotate:
conf:
kingfisher-summarize: kingfisher-summarize
kingfisher-summarize:
source: kingfisher-summarize
context:
mykey: myvalue
The ``kingfisher-summarize`` file in ``salt/core/logrotate/files`` will be written to ``/etc/logrotate.d/kingfisher-summarize``.

0 comments on commit 0411cf8

Please sign in to comment.