#!/bin/bash set -e set -u set -x
set -e
Exit immediately if a command exits with a non-zero status.
set -u
Treat unset variables and parameters as errors.
set -x
Print commands and their arguments before executing them.
Save STDOUT and STDERR to user_data.log
exec &> /opt/odoo/user_data.log set -x echo "Hello"
Top comments (0)