summaryrefslogtreecommitdiff
path: root/openstack
diff options
context:
space:
mode:
authorFrancisco Redondo Marchena <francisco.marchena@codethink.co.uk>2015-01-15 17:15:33 +0000
committerFrancisco Redondo Marchena <francisco.marchena@codethink.co.uk>2015-01-22 12:46:30 +0000
commitc870799193f0df6f72ea9c60d14bcc7b45fcd9ec (patch)
tree4526d621328ca7b1ecf5588841f9155de7d373e7 /openstack
parenta021ff81ce071b85db4ea2447a7cf5cc75002039 (diff)
downloaddefinitions-c870799193f0df6f72ea9c60d14bcc7b45fcd9ec.tar.gz
REMOVEME: workaround to exit of the httpd setup service when has been called before
Diffstat (limited to 'openstack')
-rwxr-xr-xopenstack/usr/share/openstack/apache-httpd-server-setup9
1 files changed, 9 insertions, 0 deletions
diff --git a/openstack/usr/share/openstack/apache-httpd-server-setup b/openstack/usr/share/openstack/apache-httpd-server-setup
index 7b10bd64..11e88fb2 100755
--- a/openstack/usr/share/openstack/apache-httpd-server-setup
+++ b/openstack/usr/share/openstack/apache-httpd-server-setup
@@ -20,6 +20,10 @@
# as default shell in gerrit systems.
set -e
+if [ -f /var/openstack/apache-http-setup ]; then
+ exit 0
+fi
+
###############################################################################
# Move suexec to the directory where apache is configured to have it #
# Check configure in strata/apache-httpd-server/httpd-server.morph #
@@ -40,3 +44,8 @@ chmod 4754 /usr/lib/httpd/suexec
chown -R apache:apache /srv/www
mkdir -p /var/run/httpd/
chown -R apache:apache /var/run/httpd
+
+
+install -D -m 644 /proc/self/fd/0 <<'EOF' /var/openstack/apache-http-setup
+Apache http setup: success
+EOF