mirror of
https://github.com/iiab/iiab.git
synced 2025-03-09 15:40:17 +00:00
so many errors, systemd still not working -- which uwsgi as root does
This commit is contained in:
parent
a7d55209c2
commit
fdb872dc03
3 changed files with 11 additions and 2 deletions
|
@ -25,4 +25,11 @@
|
|||
- { src: "roles/nginx/templates/server.conf", dest: "/etc/nginx/" }
|
||||
- { src: "roles/nginx/templates/nginx.conf", dest: "/etc/nginx/" }
|
||||
- { src: 'roles/nginx/templates/ports.conf', dest: '/etc/{{ apache_service }}/' , mode: '0644' }
|
||||
- { src: 'roles/nginx/templates/uwsgi.unit', dest: '/etc/systemd/system/' , mode: '0644' }
|
||||
- { src: 'roles/nginx/templates/uwsgi.service', dest: '/etc/systemd/system/' , mode: '0644' }
|
||||
|
||||
- name: Let uwsgi running as {{ apache_user }} write log files
|
||||
file:
|
||||
path: /var/log/uwsgi/app
|
||||
state: directory
|
||||
owner: "{{ apache_user }}"
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue