Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
preserve env vars
mchyzer committed Nov 25, 2023
1 parent 4727965 commit 7e7c46d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion container_files/usr-local-bin/libraryRunCommand.sh
@@ -14,7 +14,7 @@ runCommand() {
if [ "$GROUPER_RUN_TOMCAT_NOT_SUPERVISOR" = "true" ]; then
if [ "$GROUPER_RUN_PROCESSES_AS_USERS" = "true" ]; then
echo "grouperContainer; INFO: (libraryRunCommand.sh-runCommand) Starting tomcat: sudo -u tomcat /opt/tomcat/bin/catalina.sh run"
sudo -u tomcat /opt/tomcat/bin/catalina.sh run
sudo --preserve-env -u tomcat /opt/tomcat/bin/catalina.sh run
else
echo "grouperContainer; INFO: (libraryRunCommand.sh-runCommand) Starting tomcat: /opt/tomcat/bin/catalina.sh run"
/opt/tomcat/bin/catalina.sh run

0 comments on commit 7e7c46d

Please sign in to comment.