Cancel prepare4shutdown script during cluster installation (#673)
* Cancel prepare4shutdown script during cluster installation * Fix line length
This commit is contained in:
parent
5ef86cd090
commit
012b35d2f8
@ -3,7 +3,10 @@
|
|||||||
umask 0022
|
umask 0022
|
||||||
|
|
||||||
function clean_exit {
|
function clean_exit {
|
||||||
|
if [ ${ONLYOFFICE_DATA_CONTAINER} == "false" ] && \
|
||||||
|
[ ${ONLYOFFICE_DATA_CONTAINER_HOST} == "localhost" ]; then
|
||||||
/usr/bin/documentserver-prepare4shutdown.sh
|
/usr/bin/documentserver-prepare4shutdown.sh
|
||||||
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
trap clean_exit SIGTERM
|
trap clean_exit SIGTERM
|
||||||
|
Loading…
x
Reference in New Issue
Block a user