We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 22322f5 commit a7beb72Copy full SHA for a7beb72
setup/start.sh
@@ -38,6 +38,13 @@ if [ -f /etc/mailinabox.conf ]; then
38
cat /etc/mailinabox.conf | sed s/^/DEFAULT_/ >/tmp/mailinabox.prev.conf
39
source /tmp/mailinabox.prev.conf
40
rm -f /tmp/mailinabox.prev.conf
41
+
42
+ # Since this is a second run, attempt to read overridden settings from $STORAGE_ROOT/mailinabox.conf
43
+ if [ -f $DEFAULT_STORAGE_ROOT/mailinabox.conf ]; then
44
+ cat $DEFAULT_STORAGE_ROOT/mailinabox.conf | sed s/^/DEFAULT_/ >/tmp/mailinabox.prev.conf
45
+ source /tmp/mailinabox.prev.conf
46
+ rm -f /tmp/mailinabox.prev.conf
47
+ fi
48
else
49
FIRST_TIME_SETUP=1
50
fi
0 commit comments