From ecd6cd9cdd52329c3ae83262819182db91c2884b Mon Sep 17 00:00:00 2001 From: Cole White Date: Mon, 25 Jul 2022 21:06:03 +0000 Subject: [PATCH] Use bash in systemd-entrypoint shebang Uses a shell environment where `-o pipefail` is available. Closes #4005 Signed-off-by: Cole White --- distribution/packages/src/common/systemd/systemd-entrypoint | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/distribution/packages/src/common/systemd/systemd-entrypoint b/distribution/packages/src/common/systemd/systemd-entrypoint index d9eacdb7812af..de59b4573f79a 100644 --- a/distribution/packages/src/common/systemd/systemd-entrypoint +++ b/distribution/packages/src/common/systemd/systemd-entrypoint @@ -1,4 +1,4 @@ -#!/bin/sh +#!/usr/bin/env bash # This wrapper script allows SystemD to feed a file containing a passphrase into # the main OpenSearch startup script