From 06dd898fe349cbc5a16fb5f6daf2b563fbb3c936 Mon Sep 17 00:00:00 2001 From: Brett Smith Date: Thu, 20 Aug 2015 11:20:54 -0400 Subject: [PATCH] 6940: Use nginx as WWW_OWNER on Red Hat distributions. We recommend deploying with Nginx, and this script interacts with Nginx. The default Nginx configuration that Phusion ships runs as the nginx user on these distros. Use that as the WWW_OWNER. Ideally we want to move to a more sophisticated place where we introspect the Web server configuration and use the same server it does. But for now, this is an improvement. No issue #, but discovered when working on #6940. I cleared this with Ward. --- jenkins/arvados-api-server-extras/arvados-api-server-upgrade.sh | 2 +- jenkins/arvados-workbench-extras/arvados-workbench-upgrade.sh | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/jenkins/arvados-api-server-extras/arvados-api-server-upgrade.sh b/jenkins/arvados-api-server-extras/arvados-api-server-upgrade.sh index 5160c7ac5f..cbd35d91ae 100755 --- a/jenkins/arvados-api-server-extras/arvados-api-server-upgrade.sh +++ b/jenkins/arvados-api-server-extras/arvados-api-server-upgrade.sh @@ -3,7 +3,7 @@ set -e if [ -e /etc/redhat-release ]; then - WWW_OWNER=apache:apache + WWW_OWNER=nginx:nginx else # Assume we're on a Debian-based system for now. WWW_OWNER=www-data:www-data diff --git a/jenkins/arvados-workbench-extras/arvados-workbench-upgrade.sh b/jenkins/arvados-workbench-extras/arvados-workbench-upgrade.sh index 0a2bf96d41..45eca77c55 100755 --- a/jenkins/arvados-workbench-extras/arvados-workbench-upgrade.sh +++ b/jenkins/arvados-workbench-extras/arvados-workbench-upgrade.sh @@ -3,7 +3,7 @@ set -e if [ -e /etc/redhat-release ]; then - WWW_OWNER=apache:apache + WWW_OWNER=nginx:nginx else # Assume we're on a Debian-based system for now. WWW_OWNER=www-data:www-data -- 2.30.2