From 16df7b8b8b9590d4b455a22804393573d3a05261 Mon Sep 17 00:00:00 2001 From: engelant Date: Sun, 4 Oct 2020 13:44:21 +0200 Subject: [PATCH] Updated FAQ and Tips (markdown) --- docs/content/config/troubleshooting/faq.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/docs/content/config/troubleshooting/faq.md b/docs/content/config/troubleshooting/faq.md index 99595209..8199fe90 100644 --- a/docs/content/config/troubleshooting/faq.md +++ b/docs/content/config/troubleshooting/faq.md @@ -339,6 +339,15 @@ If you want to test it you can move into the running container, run it and see i You can do a lot of things with such a script. You can find an example user-patches.sh script here: [example user-patches.sh script](https://github.com/hanscees/dockerscripts/blob/master/scripts/tomav-user-patches.sh) +#### Special case pathcing supervisord config +It seems worth noting, that the `user-patches.sh` gets executed trough supervisord. If you need to patch some supervisord config (e.g. `/etc/supervisor/conf.d/saslauth.conf`), the patching happens too late. +An easy workaround is to make the `user-patches.sh` reload the supervisord config after patching it: +```bash +#!/bin/bash +sed -i 's/rimap -r/rimap/' /etc/supervisor/conf.d/saslauth.conf +supervisorctl update +``` +