mirror of
https://github.com/docker-mailserver/docker-mailserver.git
synced 2024-01-19 02:48:50 +00:00
remove unnecessary configuration files (#2738)
This commit is contained in:
parent
ab55343d8e
commit
26d241381f
12
config-examples/user-patches.sh
Executable file
12
config-examples/user-patches.sh
Executable file
|
@ -0,0 +1,12 @@
|
|||
#! /bin/bash
|
||||
|
||||
# This user patches script runs right before starting the daemons.
|
||||
# That means, all the other configuration is in place, so the script
|
||||
# can make final adjustments.
|
||||
# If you modify any supervisord configuration, make sure to run
|
||||
# "supervisorctl update" or "supervisorctl reload" afterwards.
|
||||
|
||||
# For more information, see
|
||||
# https://docker-mailserver.github.io/docker-mailserver/edge/config/advanced/override-defaults/user-patches/
|
||||
|
||||
echo 'user-patches.sh successfully executed'
|
|
@ -1,7 +0,0 @@
|
|||
#! /bin/bash
|
||||
##
|
||||
# This user patches script runs right before starting the daemons. That means, all the other configuration is in place, so the script can make final adjustments.
|
||||
# If you modify any supervisord configuration, make sure to run "supervisorctl update" or "supervisorctl reload" afterwards.
|
||||
# To enable the script, you must save it in your config directory as "user-patches.sh".
|
||||
##
|
||||
echo "Default user-patches.sh successfully executed"
|
|
@ -40,4 +40,4 @@ And you're done. The user patches script runs right before starting daemons. Tha
|
|||
!!! note
|
||||
Many "patches" can already be done with the Docker Compose-/Stack-file. Adding hostnames to `/etc/hosts` is done with the `#!yaml extra_hosts:` section, `sysctl` commands can be managed with the `#!yaml sysctls:` section, etc.
|
||||
|
||||
[gh-file-userpatches]: https://github.com/docker-mailserver/docker-mailserver/blob/master/config-examples/user-patches.sh.dist
|
||||
[gh-file-userpatches]: https://github.com/docker-mailserver/docker-mailserver/blob/master/config-examples/user-patches.sh
|
||||
|
|
Loading…
Reference in a new issue