Tests should work from now on
Merge branch 'user-patches.sh' # Conflicts: # config/user-patches.sh # target/start-mailserver.sh
This commit is contained in:
commit
e441f1318a
|
@ -1,6 +1,2 @@
|
||||||
#!/bin/bash
|
#!/bin/bash
|
||||||
|
echo "Default user-patches.sh successfully executed!"
|
||||||
##
|
|
||||||
# This user script will be executed between configuration and starting daemons
|
|
||||||
##
|
|
||||||
|
|
|
@ -1601,11 +1601,10 @@ function _misc_user_patches() {
|
||||||
|
|
||||||
if [ -f /tmp/docker-mailserver/user-patches.sh ]; then
|
if [ -f /tmp/docker-mailserver/user-patches.sh ]; then
|
||||||
chmod +x /tmp/docker-mailserver/user-patches.sh
|
chmod +x /tmp/docker-mailserver/user-patches.sh
|
||||||
chown -R docker:docker /tmp/docker-mailserver/user-patches.sh
|
|
||||||
/tmp/docker-mailserver/user-patches.sh
|
/tmp/docker-mailserver/user-patches.sh
|
||||||
notify 'inf' "user-patches.sh executed"
|
notify 'inf' "Executed 'config/user-patches.sh'"
|
||||||
else
|
else
|
||||||
notify 'inf' "user-patches.sh not executed because optional '/tmp/docker-mailserver/user-patches.sh' is not provided."
|
notify 'inf' "No user patches executed because optional '/tmp/docker-mailserver/user-patches.sh' is not provided."
|
||||||
fi
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue