Fixed horizon starting up (which it does now!)
This commit is contained in:
parent
4d27f35c43
commit
5cee997ca6
@ -234,10 +234,10 @@ q_plugin = ${Q_PLUGIN:-openvswitch}
|
||||
# Root will typically not work (so this is here to fail)
|
||||
# sudo adduser <username> admin will be what you want to set this up.
|
||||
# I typically use "sudo adduser horizon admin"
|
||||
apache_user = ${APACHE_USER:-horizon}
|
||||
apache_user = ${APACHE_USER:-root}
|
||||
|
||||
# This is the group of the previous user (adjust as needed)
|
||||
apache_group = ${APACHE_GROUP:-horizon}
|
||||
apache_group = ${APACHE_GROUP:-$(horizon:apache_user)}
|
||||
|
||||
# Port horizon should run on
|
||||
port = ${HORIZON_PORT:-80}
|
||||
|
@ -158,7 +158,6 @@ class HorizonInstaller(comp.PythonInstallComponent):
|
||||
(user, group) = self._get_apache_user_group()
|
||||
mp['USER'] = user
|
||||
mp['GROUP'] = group
|
||||
mp['USER'] = self._get_apache_user()
|
||||
mp['HORIZON_DIR'] = self.appdir
|
||||
mp['HORIZON_PORT'] = self.cfg.get('horizon', 'port')
|
||||
else:
|
||||
|
@ -13,48 +13,51 @@
|
||||
# License for the specific language governing permissions and limitations
|
||||
# under the License.
|
||||
|
||||
|
||||
class InstallException(Exception):
|
||||
class StackException(Exception):
|
||||
pass
|
||||
|
||||
|
||||
class BadRegexException(Exception):
|
||||
class InstallException(StackException):
|
||||
pass
|
||||
|
||||
|
||||
class BadParamException(Exception):
|
||||
class BadRegexException(StackException):
|
||||
pass
|
||||
|
||||
|
||||
class NoTraceException(Exception):
|
||||
class BadParamException(StackException):
|
||||
pass
|
||||
|
||||
|
||||
class NoReplacementException(Exception):
|
||||
class NoTraceException(StackException):
|
||||
pass
|
||||
|
||||
|
||||
class StartException(Exception):
|
||||
class NoReplacementException(StackException):
|
||||
pass
|
||||
|
||||
|
||||
class NoIpException(Exception):
|
||||
class StartException(StackException):
|
||||
pass
|
||||
|
||||
|
||||
class StopException(Exception):
|
||||
class NoIpException(StackException):
|
||||
pass
|
||||
|
||||
|
||||
class RestartException(Exception):
|
||||
class StopException(StackException):
|
||||
pass
|
||||
|
||||
|
||||
class StatusException(Exception):
|
||||
class RestartException(StackException):
|
||||
pass
|
||||
|
||||
|
||||
class FileException(Exception):
|
||||
class StatusException(StackException):
|
||||
pass
|
||||
|
||||
|
||||
class FileException(StackException):
|
||||
pass
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user