Fix installation check to use cat command for file existence

google-cloud-platform
Piwccle 2025-09-17 13:40:31 +02:00
parent 88ee40b41c
commit 61cf2caa94
1 changed files with 1 additions and 1 deletions

View File

@ -632,7 +632,7 @@ locals {
set -eu -o pipefail set -eu -o pipefail
# Check if installation already completed # Check if installation already completed
if [ -e "/tmp/openvidu_install_counter.txt" ]; then if cat /tmp/openvidu_install_counter.txt > /dev/null 2>&1; then
# restart.sh # restart.sh
cat > /usr/local/bin/restart.sh << 'RESTART_EOF' cat > /usr/local/bin/restart.sh << 'RESTART_EOF'
${local.restart_script} ${local.restart_script}