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 $@ |