diff options
author | Francisco Redondo Marchena <francisco.marchena@codethink.co.uk> | 2015-02-18 14:54:37 +0000 |
---|---|---|
committer | Pedro Alvarez <pedro.alvarez@codethink.co.uk> | 2015-04-08 18:29:24 +0100 |
commit | 53a4312cfe422dbf51f063f2a99b8c8d0b4a1efd (patch) | |
tree | 8883af69d2c7929d7b088628d73359b4371a73d0 /openstack/usr/share/openstack/apache-httpd-server-setup | |
parent | 8149991dcab844c0ac341fac895dc2fb8d015ef8 (diff) | |
download | definitions-53a4312cfe422dbf51f063f2a99b8c8d0b4a1efd.tar.gz |
Fix apache-httpd and horizon setup because of the change of layout
Diffstat (limited to 'openstack/usr/share/openstack/apache-httpd-server-setup')
-rwxr-xr-x | openstack/usr/share/openstack/apache-httpd-server-setup | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/openstack/usr/share/openstack/apache-httpd-server-setup b/openstack/usr/share/openstack/apache-httpd-server-setup index 4c0b3cee..8f8cdd60 100755 --- a/openstack/usr/share/openstack/apache-httpd-server-setup +++ b/openstack/usr/share/openstack/apache-httpd-server-setup @@ -25,9 +25,9 @@ fi # Move suexec to the directory where apache is configured to have it # # Check configure in strata/apache-httpd-server/httpd-server.morph # ############################################################################### -mkdir -p /srv/www +mkdir -p /var/www groupadd -r apache -useradd -c "Apache Server" -d /srv/www -g apache \ +useradd -c "Apache Server" -d /var/www -g apache \ -s /bin/false apache ############################################################################### @@ -38,7 +38,7 @@ mkdir -p /usr/lib/httpd mv -v /usr/sbin/suexec /usr/lib/httpd/suexec chgrp apache /usr/lib/httpd/suexec chmod 4754 /usr/lib/httpd/suexec -chown -R apache:apache /srv/www +chown -R apache:apache /var/www install -D -m 644 /proc/self/fd/0 <<'EOF' /var/openstack/apache-http-setup Apache http setup: success |