From 4041d7026a5f0f725c0c8df0292f1e7acf746d10 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) --- FAQ-and-Tips.md | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/FAQ-and-Tips.md b/FAQ-and-Tips.md index 9959520..8199fe9 100644 --- a/FAQ-and-Tips.md +++ b/FAQ-and-Tips.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 +``` +