From 7f6ff4622220443a674eca1d67e74acb80b26798 Mon Sep 17 00:00:00 2001 From: John Livingston Date: Thu, 9 Jun 2022 15:10:52 +0200 Subject: Implement 5036: more readable diff on configuration file when upgrading. --- support/doc/production.md | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'support/doc') diff --git a/support/doc/production.md b/support/doc/production.md index 6d7744b1f..ea0a98395 100644 --- a/support/doc/production.md +++ b/support/doc/production.md @@ -339,6 +339,15 @@ $ cd /var/www/peertube && \ sudo -u peertube ln -s versions/peertube-${VERSION} ./peertube-latest ``` +### Configuration + +You can check for configuration changes, and report them in your `config/production.yaml` file: + +```bash +$ cd /var/www/peertube/versions +$ diff -u "$(ls --sort=t | head -2 | tail -1)/config/production.yaml.example" "$(ls --sort=t | head -1)/config/production.yaml.example" +``` + ### nginx Check changes in nginx configuration: -- cgit v1.2.3