Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
Arch Linux
infrastructure
Commits
11dd3a54
Verified
Commit
11dd3a54
authored
Feb 11, 2020
by
Giancarlo Razzolini
Browse files
roles/aurweb: Added a cgit_socket variable
Use the cgit_socket variable on the uwsgi template for cgit.
parent
77d2426e
Changes
2
Hide whitespace changes
Inline
Side-by-side
roles/aurweb/defaults/main.yml
View file @
11dd3a54
...
...
@@ -17,6 +17,7 @@ aurweb_db_user: 'aur'
aurweb_user
:
'
aur'
aurweb_socket
:
'
/run/php-fpm/{{aurweb_user}}.socket'
cgit_socket
:
'
/run/uwsgi/cgit.sock'
aurweb_cache
:
'
apc'
aurweb_cache_pkginfo_ttl
:
'
86400'
...
...
roles/aurweb/templates/cgit.ini.j2
View file @
11dd3a54
[uwsgi]
plugins = cgi
socket =
/run/uwsgi/
cgit
.
sock
socket =
{{
cgit
_
sock
et }}
chown-socket = {{ aurweb_user }}:http
chmod-socket = 770
threads = 4
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment