mirror of
https://github.com/docker-mailserver/docker-mailserver.git
synced 2025-08-04 10:05:00 +02:00
ONE_DIR documentation (#460)
* Fixes #457 adding information regarding `ONE_DIR` env variable
This commit is contained in:
parent
0216ce84a2
commit
d4cee677ce
2 changed files with 6 additions and 2 deletions
|
@ -864,8 +864,7 @@ function misc() {
|
|||
}
|
||||
|
||||
function _misc_save_states() {
|
||||
# Consolidate all state that should be persisted across container restarts into one mounted
|
||||
# directory
|
||||
# consolidate all states into a single directory (`/var/mail-state`) to allow persistence using docker volumes
|
||||
statedir=/var/mail-state
|
||||
if [ "$ONE_DIR" = 1 -a -d $statedir ]; then
|
||||
notify 'inf' "Consolidating all state onto $statedir"
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue