Minor fixes for wsgi process
Change the wsgi script names and the process group for which the wsgi services run under. Signed-off-by: Billy Olsen <billy.olsen@gmail.com>
This commit is contained in:
parent
dd421c5438
commit
3076f33603
@ -19,8 +19,8 @@ class PlacementOperatorCharm(sunbeam_charm.OSBaseOperatorAPICharm):
|
||||
|
||||
_state = StoredState()
|
||||
service_name = "placement-api"
|
||||
wsgi_admin_script = '/usr/bin/placement-wsgi-api'
|
||||
wsgi_public_script = '/usr/bin/placement-wsgi-api'
|
||||
wsgi_admin_script = '/usr/bin/placement-api'
|
||||
wsgi_public_script = '/usr/bin/placement-api'
|
||||
|
||||
db_sync_cmds = [
|
||||
['sudo', '-u', 'placement', 'placement-manage', 'db', 'sync']]
|
||||
|
@ -2,7 +2,7 @@ Listen {{ wsgi_config.public_port }}
|
||||
<VirtualHost *:{{ wsgi_config.public_port }}>
|
||||
WSGIDaemonProcess placement processes=3 threads=1 user={{ wsgi_config.user }} group={{ wsgi_config.group }} \
|
||||
display-name=%{GROUP}
|
||||
WSGIProcessGroup glance
|
||||
WSGIProcessGroup placement
|
||||
WSGIScriptAlias / {{ wsgi_config.wsgi_public_script }}
|
||||
WSGIApplicationGroup %{GLOBAL}
|
||||
WSGIPassAuthorization On
|
||||
|
Loading…
x
Reference in New Issue
Block a user