Cancel prepare4shutdown script during cluster installation (#673)

* Cancel prepare4shutdown script during cluster installation

* Fix line length
This commit is contained in:
Dmitry Kireev 2023-10-27 15:08:30 +03:00 committed by GitHub
parent 5ef86cd090
commit 012b35d2f8
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -3,7 +3,10 @@
umask 0022
function clean_exit {
if [ ${ONLYOFFICE_DATA_CONTAINER} == "false" ] && \
[ ${ONLYOFFICE_DATA_CONTAINER_HOST} == "localhost" ]; then
/usr/bin/documentserver-prepare4shutdown.sh
fi
}
trap clean_exit SIGTERM