diff options
author | Giacomo Sanchietti <giacomo.sanchietti@nethesis.it> | 2019-04-30 11:54:20 +0300 |
---|---|---|
committer | Giacomo Sanchietti <giacomo.sanchietti@nethesis.it> | 2019-05-03 17:34:56 +0300 |
commit | a23f139e0cf9e9bd88ab8e37adc86367298583df (patch) | |
tree | 1080e27512ae4f91511f7453b46bca0e09fd19a1 | |
parent | fc802d5317f870424f0242399c18468792713f01 (diff) |
Update to release 16.0.0
Add fpm configuration to increase memory requirements to 512M.
Signed-off-by: Giacomo Sanchietti <giacomo.sanchietti@nethesis.it>
-rw-r--r-- | centos/nextcloud-fpm.conf | 2 | ||||
-rw-r--r-- | centos/nextcloud.spec | 9 |
2 files changed, 10 insertions, 1 deletions
diff --git a/centos/nextcloud-fpm.conf b/centos/nextcloud-fpm.conf new file mode 100644 index 0000000..dbb21d4 --- /dev/null +++ b/centos/nextcloud-fpm.conf @@ -0,0 +1,2 @@ +[www] +php_admin_value[memory_limit] = 512M diff --git a/centos/nextcloud.spec b/centos/nextcloud.spec index b6d8de9..22a7218 100644 --- a/centos/nextcloud.spec +++ b/centos/nextcloud.spec @@ -13,11 +13,12 @@ Summary: Nextcloud package Name: nextcloud -Version: 15.0.7 +Version: 16.0.0 Release: 1%{?dist} License: GPL Source: https://download.nextcloud.com/server/releases/nextcloud-%{version}.tar.bz2 Source1: nextcloud.conf +Source2: nextcloud-fpm.conf BuildArch: noarch URL: https://nextcloud.com/ @@ -67,6 +68,8 @@ mkdir -p %{buildroot}/%{nc_dir}/updater mkdir -p %{buildroot}/etc/httpd/conf.d cp %{SOURCE1} %{buildroot}/etc/httpd/conf.d +mkdir -p %{buildroot}/etc/opt/rh/rh-php71/php-fpm.d/ +cp %{SOURCE2} %{buildroot}/etc/opt/rh/rh-php71/php-fpm.d/nextcloud.conf %files @@ -95,11 +98,15 @@ cp %{SOURCE1} %{buildroot}/etc/httpd/conf.d %config(noreplace) %attr(0644,%{nc_user},%{nc_group}) %{nc_dir}/.user.ini %config(noreplace) %attr(0644,root,root) /etc/httpd/conf.d/nextcloud.conf +%config(noreplace) %attr(0644,root,root) /etc/opt/rh/rh-php71/php-fpm.d/nextcloud.conf %defattr(0644,%{nc_user},%{nc_group},0755) %changelog +* Tue Apr 30 2019 Giacomo Sanchietti <giacomo.sanchietti@nethesis.it> - 16.0.0-1 +- Update to release 16.0.0 + * Wed Apr 24 2019 Giacomo Sanchietti <giacomo.sanchietti@nethesis.it> - 15.0.7-1 - Update to release 15.0.7 |