more mysql and phabricator tweaks
This commit is contained in:
parent
e5a5ca9e79
commit
f7a3d762cb
3 changed files with 11 additions and 1 deletions
|
@ -30,7 +30,7 @@ port = 3306
|
||||||
socket = /var/lib/mysql/mysql.sock
|
socket = /var/lib/mysql/mysql.sock
|
||||||
skip-external-locking
|
skip-external-locking
|
||||||
key_buffer_size = 16M
|
key_buffer_size = 16M
|
||||||
max_allowed_packet = 1M
|
max_allowed_packet = 32M
|
||||||
table_open_cache = 64
|
table_open_cache = 64
|
||||||
sort_buffer_size = 512K
|
sort_buffer_size = 512K
|
||||||
net_buffer_length = 8K
|
net_buffer_length = 8K
|
||||||
|
@ -136,6 +136,7 @@ innodb_lock_wait_timeout = 50
|
||||||
# added as per reccommended by phab setup
|
# added as per reccommended by phab setup
|
||||||
ft_stopword_file=/usr/share/phabricator/resources/sql/stopwords.txt
|
ft_stopword_file=/usr/share/phabricator/resources/sql/stopwords.txt
|
||||||
ft_min_word_len=3
|
ft_min_word_len=3
|
||||||
|
ft_boolean_syntax=' |-><()~*:""&^'
|
||||||
|
|
||||||
[mysqldump]
|
[mysqldump]
|
||||||
quick
|
quick
|
||||||
|
|
|
@ -39,6 +39,14 @@
|
||||||
notify:
|
notify:
|
||||||
- restart httpd
|
- restart httpd
|
||||||
|
|
||||||
|
- name: update php-opcache config
|
||||||
|
copy:
|
||||||
|
src: "10-opcache.ini"
|
||||||
|
dest: /etc/php.d/10-opcache.ini
|
||||||
|
owner: root
|
||||||
|
group: root
|
||||||
|
mode: 0644
|
||||||
|
|
||||||
- name: create git repo root for phabricator
|
- name: create git repo root for phabricator
|
||||||
file: path={{ phabricator_repodir }} state=directory owner={{ phabricator_daemon_user }} group={{ phabricator_daemon_user }} mode=1755
|
file: path={{ phabricator_repodir }} state=directory owner={{ phabricator_daemon_user }} group={{ phabricator_daemon_user }} mode=1755
|
||||||
when: enable_phabricator_git
|
when: enable_phabricator_git
|
||||||
|
|
|
@ -11,6 +11,7 @@
|
||||||
"phd.pid-directory" : "/var/run/phabricator/",
|
"phd.pid-directory" : "/var/run/phabricator/",
|
||||||
"phd.log-directory" : "/var/log/phabricator/",
|
"phd.log-directory" : "/var/log/phabricator/",
|
||||||
"phd.user" : "{{ phabricator_daemon_user }}",
|
"phd.user" : "{{ phabricator_daemon_user }}",
|
||||||
|
"pygments.enabled" : "true",
|
||||||
"storage.local-disk.path" : "{{ phabricator_filedir }}",
|
"storage.local-disk.path" : "{{ phabricator_filedir }}",
|
||||||
"repository.default-local-path" : "{{ phabricator_repodir }}",
|
"repository.default-local-path" : "{{ phabricator_repodir }}",
|
||||||
"environment.append-paths" : ["/usr/libexec/git-core/"],
|
"environment.append-paths" : ["/usr/libexec/git-core/"],
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue