Updated FAQ and Tips (markdown)

This commit is contained in:
engelant 2020-10-04 13:44:21 +02:00
parent 4fc4fe97f7
commit 16df7b8b8b
1 changed files with 9 additions and 0 deletions

View File

@ -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
```