From 1ae1f59af91abb5d665ce40fc287e440e3bc5cdd Mon Sep 17 00:00:00 2001 From: Paul Savides Date: Fri, 16 Feb 2024 19:45:48 +0000 Subject: [PATCH] Revert "fix bash -a issue" This reverts commit b00cc52563acd5c42842172c26577505233b5388. --- init.d/codedeploy-agent.service | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/init.d/codedeploy-agent.service b/init.d/codedeploy-agent.service index d12bd36e..72a47342 100644 --- a/init.d/codedeploy-agent.service +++ b/init.d/codedeploy-agent.service @@ -4,7 +4,7 @@ Description=AWS CodeDeploy Host Agent [Service] Type=forking After=network.target -ExecStart=/bin/bash -c '[ -f /etc/profile ] && source /etc/profile; /opt/codedeploy-agent/bin/codedeploy-agent start' +ExecStart=/bin/bash -a -c '[ -f /etc/profile ] && source /etc/profile; /opt/codedeploy-agent/bin/codedeploy-agent start' ExecStop=/opt/codedeploy-agent/bin/codedeploy-agent stop RemainAfterExit=no Restart=on-failure