diff options
author | Aaron LI <aly@aaronly.me> | 2018-12-20 14:05:59 +0800 |
---|---|---|
committer | Aaron LI <aly@aaronly.me> | 2018-12-20 14:05:59 +0800 |
commit | 67256748a799f15a1eed6073deb07733121885af (patch) | |
tree | 4003f49c4f67f3370df3d603e97d92dd1d359a88 /roles/git | |
parent | f030916aca096f0440d718ff8ea15608fc9af466 (diff) | |
download | ansible-dfly-vps-67256748a799f15a1eed6073deb07733121885af.tar.bz2 |
Fix uwsgi socket owner in rc.conf
Diffstat (limited to 'roles/git')
-rw-r--r-- | roles/git/tasks/main.yml | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/roles/git/tasks/main.yml b/roles/git/tasks/main.yml index ebd2ef3..4589ac6 100644 --- a/roles/git/tasks/main.yml +++ b/roles/git/tasks/main.yml @@ -176,6 +176,7 @@ uwsgi_profiles="${uwsgi_profiles} cgit" uwsgi_cgit_uid="git" uwsgi_cgit_gid="git" + uwsgi_cgit_socket_owner="git:www" uwsgi_cgit_flags="-L --log-reopen --logfile-chown --cgi /usr/local/www/cgit/cgit.cgi --env CGIT_CONFIG={{ git.cgit.root }}/cgitrc" notify: restart-cgit |