Use full paths for nginx and uwsgi binaries

Change-Id: I2db1ef030d45d4f86520f8527eb0e4086f46b534
This commit is contained in:
Corey Bryant 2017-04-18 18:21:13 +00:00
parent 110b773d98
commit 2e1a8892f4
1 changed files with 2 additions and 2 deletions

View File

@ -148,7 +148,7 @@ class OpenStackSnap(object):
cmd.extend(other_args)
elif cmd_type == UWSGI_EP_TYPE:
cmd = [UWSGI_EP_TYPE]
cmd = ["{snap}/bin/uwsgi".format(**utils.snap_env)]
cmd.extend(DEFAULT_UWSGI_ARGS)
uwsgi_dir = entry_point.get('uwsgi-dir')
@ -162,7 +162,7 @@ class OpenStackSnap(object):
cmd.extend(['--logto', log_file])
elif cmd_type == NGINX_EP_TYPE:
cmd = [NGINX_EP_TYPE]
cmd = ["{snap}/usr/sbin/nginx".format(**utils.snap_env)]
cmd.extend(DEFAULT_NGINX_ARGS)
cfile = entry_point.get('config-file')