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
da16890e
Commit
da16890e
authored
Oct 27, 2019
by
Jelle van der Waa
🚧
Browse files
fluxbb: add apcu for bbs
parent
208a13e5
Changes
4
Hide whitespace changes
Inline
Side-by-side
roles/fluxbb/defaults/main.yml
View file @
da16890e
...
...
@@ -5,9 +5,3 @@ fluxbb_dir: /srv/http/fluxbb
fluxbb_cookie_name
:
flux_cookie_eezohm0o
fluxbb_cookie_seed
:
huathe3ooZuwieba
fluxbb_funnyquestion_hash
:
aixuGahCh4eng3bu
php_extensions
:
-
iconv
-
intl
-
mysqli
-
apcu
roles/fluxbb/meta/main.yml
deleted
100644 → 0
View file @
208a13e5
---
dependencies
:
-
{
role
:
nginx
,
tags
:
[
'
nginx'
]
}
-
{
role
:
mariadb
,
tags
:
[
'
mariadb'
]
}
-
{
role
:
php-fpm
,
tags
:
[
'
php-fpm'
]
}
roles/fluxbb/tasks/main.yml
View file @
da16890e
...
...
@@ -47,6 +47,9 @@
src=config.php.j2 dest={{ fluxbb_dir }}/config.php
owner=fluxbb group=fluxbb mode=400
-
name
:
install php-apcu
pacman
:
name=python-apcu
-
name
:
configure php-fpm
template
:
>
src=php-fpm.conf.j2 dest=/etc/php/php-fpm.d/fluxbb.conf
...
...
roles/fluxbb/templates/php-fpm.conf.j2
View file @
da16890e
...
...
@@ -26,3 +26,7 @@ php_admin_value[opcache.max_accelerated_files] = 200
php_admin_value[opcache.revalidate_freq] = 60
php_admin_value[opcache.fast_shutdown] = 1
php_admin_value[disable_functions] = passthru, exec, proc_open, shell_exec, system, popen
php_admin_value[apc.shm_size] = 1024M
php_admin_value[apc.ttl] = 1800
php_admin_value[apc.entries_hint] = 0
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