The openstack_dashboard.management.commands.make_web_conf ModuleΒΆ

class openstack_dashboard.management.commands.make_web_conf.Command(stdout=None, stderr=None, no_color=False)[source]

Bases: django.core.management.base.BaseCommand

args = ''
handle(*args, **options)[source]
help = 'Create /build/horizon-mEyk3s/horizon-9.0.0/openstack_dashboard/wsgi/horizon.wsgi\nor the contents of an apache openstack_dashboard.conf file (on stdout).\nThe apache configuration is generated on stdout because the place of this\nfile is distribution dependent.\n\nexamples::\n\n manage.py make_web_conf --wsgi # creates /build/horizon-mEyk3s/horizon-9.0.0/openstack_dashboard/wsgi/horizon.wsgi\n manage.py make_web_conf --apache # creates an apache vhost conf file (on stdout).\n manage.py make_web_conf --apache --ssl --mail=webmaster@openstack.org --project=openstack_dashboard --hostname=openstack_dashboard\n\nTo create an acpache configuration file, redirect the output towards the\nlocation you desire, e.g.::\n\n manage.py make_web_conf --apache > /etc/httpd/conf.d/openstack_dashboard.conf\n\n '
option_list = (<Option at 0x7f3397aa9098: -a/--apache>, <Option at 0x7f3397aa8830: --cacert>, <Option at 0x7f3397aa7998: -f/--force>, <Option at 0x7f3397aa7170: -H/--hostname>, <Option at 0x7f3397aa70e0: --logdir>, <Option at 0x7f3397aa7b90: -m/--mail>, <Option at 0x7f3397aa7f80: -n/--namedhost>, <Option at 0x7f3397aa7d88: -p/--project>, <Option at 0x7f3397aa7c68: -s/--ssl>, <Option at 0x7f3397aa73b0: --sslcert>, <Option at 0x7f3397aa7a70: --sslkey>, <Option at 0x7f3397aa78c0: --apache-version>, <Option at 0x7f3397aa7710: -w/--wsgi>)
openstack_dashboard.management.commands.make_web_conf.find_apache_log_dir()[source]