fixed entrypoint to always start.

main
Andre Challier 2024-03-27 15:22:28 +01:00
parent 45682d4808
commit 8bc19664ef
1 changed files with 6 additions and 6 deletions

View File

@ -11,15 +11,15 @@ template_file="/etc/webhook/hook.json.tmpl"
output_file="/etc/webhook/hook.json"
# Check if the template file exists
if [ ! -f "$template_file" ]; then
if [ ! -f "$template_file" ];
then
echo "Template file $template_file not found."
exit 1
# exit 1
else
envsubst < "$template_file" > "$output_file"
echo "Generated $output_file"
fi
envsubst < "$template_file" > "$output_file"
echo "Generated $output_file"
#
# Start webhooks
#