/[smecontribs]/rpms/smeserver-nextcloud/contribs10/smeserver-nextcloud-1.2.0-bz11086.patch
ViewVC logotype

Annotation of /rpms/smeserver-nextcloud/contribs10/smeserver-nextcloud-1.2.0-bz11086.patch

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


Revision 1.1 - (hide annotations) (download)
Sun Jun 6 06:19:22 2021 UTC (3 years, 4 months ago) by jpp
Branch: MAIN
CVS Tags: smeserver-nextcloud-1_2_0-26_el7_sme, smeserver-nextcloud-1_2_0-27_el7_sme, smeserver-nextcloud-1_2_0-22_el7_sme, smeserver-nextcloud-1_2_0-25_el7_sme, smeserver-nextcloud-1_2_0-13_el7_sme, smeserver-nextcloud-1_2_0-21_el7_sme, smeserver-nextcloud-1_2_0-12_el7_sme, smeserver-nextcloud-1_2_0-28_el7_sme, smeserver-nextcloud-1_2_0-10_el7_sme, smeserver-nextcloud-1_2_0-23_el7_sme, smeserver-nextcloud-1_2_0-20_el7_sme, smeserver-nextcloud-1_2_0-8_el7_sme, smeserver-nextcloud-1_2_0-31_el7_sme, smeserver-nextcloud-1_2_0-16_el7_sme, smeserver-nextcloud-1_2_0-18_el7_sme, smeserver-nextcloud-1_2_0-15_el7_sme, smeserver-nextcloud-1_2_0-14_el7_sme, smeserver-nextcloud-1_2_0-11_el7_sme, smeserver-nextcloud-1_2_0-29_el7_sme, smeserver-nextcloud-1_2_0-9_el7_sme, smeserver-nextcloud-1_2_0-24_el7_sme, smeserver-nextcloud-1_2_0-30_el7_sme, smeserver-nextcloud-1_2_0-17_el7_sme, smeserver-nextcloud-1_2_0-19_el7_sme, HEAD
* Sun Jun 06 2021 Jean-Philippe Pialasse <tests@pialasse.com> 1.2.0-8.sme
- add update event [SME: 11086]
- add occ as hard link of OCC

1 jpp 1.1 diff -Nur --no-dereference smeserver-nextcloud-1.2.0.old/createlinks smeserver-nextcloud-1.2.0/createlinks
2     --- smeserver-nextcloud-1.2.0.old/createlinks 2020-11-08 15:20:49.000000000 -0500
3     +++ smeserver-nextcloud-1.2.0/createlinks 2021-06-06 01:44:23.243000000 -0400
4     @@ -15,8 +15,7 @@
5    
6     event_services("nextcloud-update", qw(
7     httpd-e-smith sigusr1
8     - php74-php-fpm restart
9     - php-fpm reload
10     + php74-php-fpm reload-or-restart
11     ));
12    
13     event_actions("nextcloud-save", qw(
14     @@ -35,3 +34,19 @@
15     event_link("nextcloud-occ-conf", $event, "30");
16    
17     }
18     +
19     +my $event="smeserver-nextcloud-update";
20     +event_templates($event, qw(
21     + /etc/httpd/conf/httpd.conf
22     + /etc/opt/remi/php74/php.d/20-opcache.ini
23     + /etc/crontab
24     + /etc/opt/remi/php74/php-fpm.d/www.conf
25     +));
26     +
27     +event_services($event, qw(
28     + httpd-e-smith sigusr1
29     + php74-php-fpm reload-or-restart
30     +));
31     +event_link("nextcloud-occ-conf", $event, "30");
32     +event_link("nextcloud-occ-conf", $event, "30");
33     +
34     diff -Nur --no-dereference smeserver-nextcloud-1.2.0.old/root/usr/bin/occ smeserver-nextcloud-1.2.0/root/usr/bin/occ
35     --- smeserver-nextcloud-1.2.0.old/root/usr/bin/occ 1969-12-31 19:00:00.000000000 -0500
36     +++ smeserver-nextcloud-1.2.0/root/usr/bin/occ 2020-11-08 15:21:24.000000000 -0500
37     @@ -0,0 +1,5 @@
38     +# cat bin/OCC
39     +#!/bin/bash
40     +
41     +cd /usr/share/nextcloud
42     +sudo -u www -s /usr/bin/php74 --define memory_limit=512M occ $@

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