/[smecontribs]/rpms/smeserver-nextcloud/contribs10/smeserver-nextcloud-1.1.0.patch0.patch
ViewVC logotype

Annotation of /rpms/smeserver-nextcloud/contribs10/smeserver-nextcloud-1.1.0.patch0.patch

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph


Revision 1.2 - (hide annotations) (download)
Sun Nov 8 20:40:43 2020 UTC (4 years ago) by jpp
Branch: MAIN
CVS Tags: HEAD
Changes since 1.1: +0 -0 lines
FILE REMOVED
* Sun Nov 08 2020 Jean-Philipe Pialasse <tests@pialasse.com> 1.2.0-1.sme
- initial SME10 import [SME: 11086]

1 jpp 1.1 diff -Nur smeserver-nextcloud-1.1.0.old/createlinks smeserver-nextcloud-1.1.0/createlinks
2     --- smeserver-nextcloud-1.1.0.old/createlinks 2018-04-01 17:37:34.000000000 -0400
3     +++ smeserver-nextcloud-1.1.0/createlinks 2018-04-07 00:57:05.808000000 -0400
4     @@ -16,8 +16,7 @@
5     event_services("nextcloud-update", qw(
6     httpd restart
7     php71-php-fpm restart
8     - php71-php-fpm reload
9     - php-fpm reload
10     + php-fpm restart
11     ));
12    
13     event_actions("nextcloud-save", qw(
14     @@ -35,4 +34,4 @@
15     foreach my $event (qw(bootstrap-console-save console-save webapps-update post-upgrade )){
16     event_link("nextcloud-occ-conf", $event, "30");
17    
18     - }
19     \ Pas de fin de ligne à la fin du fichier
20     + }
21     diff -Nur smeserver-nextcloud-1.1.0.old/root/etc/e-smith/events/actions/nextcloud-occ-conf smeserver-nextcloud-1.1.0/root/etc/e-smith/events/actions/nextcloud-occ-conf
22     --- smeserver-nextcloud-1.1.0.old/root/etc/e-smith/events/actions/nextcloud-occ-conf 2018-04-01 17:23:58.000000000 -0400
23     +++ smeserver-nextcloud-1.1.0/root/etc/e-smith/events/actions/nextcloud-occ-conf 2018-04-07 00:46:02.916000000 -0400
24     @@ -241,7 +241,9 @@
25     }
26     }
27    
28     -
29     +# set cron
30     +OCC "background:cron";
31     +
32     # and finally let's set SME admin as admin, shall we ?
33     my $admin = $NCusers{'admin'};
34     OCC "group:adduser admin $admin";
35     diff -Nur smeserver-nextcloud-1.1.0.old/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/98nextcloud smeserver-nextcloud-1.1.0/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/98nextcloud
36     --- smeserver-nextcloud-1.1.0.old/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/98nextcloud 2018-03-31 00:13:00.000000000 -0400
37     +++ smeserver-nextcloud-1.1.0/root/etc/e-smith/templates/etc/httpd/conf/httpd.conf/98nextcloud 2018-04-07 00:34:42.414000000 -0400
38     @@ -29,17 +29,18 @@
39    
40     my $php =<<_EOF;
41     AddType application/x-httpd-php .php
42     - php_admin_flag file_uploads On
43     + php_admin_flag file_upload On
44     php_admin_flag magic_quotes Off
45     php_admin_flag magic_quotes_gpc Off
46     php_admin_value upload_max_filesize $maxupload
47     php_admin_value post_max_size $maxpost
48     - php_admin_value memory_limit 100M
49     + php_admin_value memory_limit 128M
50     php_admin_flag output_buffering Off
51     php_admin_value max_execution_time 0
52     php_admin_value upload_tmp_dir /var/lib/nextcloud/tmp
53     php_admin_value session.save_path /var/lib/nextcloud/tmp
54     php_admin_value session.gc_maxlifetime 86400
55     + php_admin_value open_basedir /usr/share/nextcloud:/var/lib/nextcloud:/var/log/nextcloud.log:/var/lib/php/nextcloud:/home/e-smith/files/nextcloud:/dev/urandom:/proc/meminfo
56     _EOF
57     if ($fastcgi_mod eq 'mod_fastcgi'){
58     $php = " AddHandler phpnextcloud-fastcgi .php\n";
59     diff -Nur smeserver-nextcloud-1.1.0.old/root/etc/e-smith/templates/etc/php-fpm.d/www.conf/15Nextcloud smeserver-nextcloud-1.1.0/root/etc/e-smith/templates/etc/php-fpm.d/www.conf/15Nextcloud
60     --- smeserver-nextcloud-1.1.0.old/root/etc/e-smith/templates/etc/php-fpm.d/www.conf/15Nextcloud 2018-03-31 00:11:25.000000000 -0400
61     +++ smeserver-nextcloud-1.1.0/root/etc/e-smith/templates/etc/php-fpm.d/www.conf/15Nextcloud 2018-04-07 00:33:53.996000000 -0400
62     @@ -21,6 +21,7 @@
63     pm.max_spare_servers = 4
64     pm.max_requests = 1000
65     php_admin_value[session.save_path] = /var/lib/php/$id/session
66     +php_admin_value[session.gc_maxlifetime] = 86400
67     php_admin_value[opcache.file_cache] = /var/lib/php/$id/opcache
68     php_admin_value[upload_tmp_dir] = /var/lib/php/$id/tmp
69     php_admin_value[error_log] = /var/log/php/$id/error.log

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed