aboutsummaryrefslogtreecommitdiffstats
path: root/roles/git
diff options
context:
space:
mode:
authorAaron LI <aly@aaronly.me>2018-12-20 14:05:59 +0800
committerAaron LI <aly@aaronly.me>2018-12-20 14:05:59 +0800
commit67256748a799f15a1eed6073deb07733121885af (patch)
tree4003f49c4f67f3370df3d603e97d92dd1d359a88 /roles/git
parentf030916aca096f0440d718ff8ea15608fc9af466 (diff)
downloadansible-dfly-vps-67256748a799f15a1eed6073deb07733121885af.tar.bz2
Fix uwsgi socket owner in rc.conf
Diffstat (limited to 'roles/git')
-rw-r--r--roles/git/tasks/main.yml1
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