/[smecontribs]/rpms/smeserver-onlyoffice/contribs10/smeserver-onlyoffice-0.0.5-bz12289.patch
ViewVC logotype

Contents of /rpms/smeserver-onlyoffice/contribs10/smeserver-onlyoffice-0.0.5-bz12289.patch

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


Revision 1.1 - (show annotations) (download)
Tue Dec 27 03:26:16 2022 UTC (22 months, 3 weeks ago) by jpp
Branch: MAIN
CVS Tags: smeserver-onlyoffice-0_0_5-5_el7_sme, smeserver-onlyoffice-0_0_5-8_el7_sme, smeserver-onlyoffice-0_0_5-6_el7_sme, smeserver-onlyoffice-0_0_5-7_el7_sme, HEAD
* Mon Dec 26 2022 Jean-Philippe Pialasse <tests@pialasse.com> 0.0.5-5.sme
- fix httpd failure on onlyoffice-documentserver rpm update [SME: 12289]

1 diff -Nur --no-dereference smeserver-onlyoffice-0.0.5.old/createlinks smeserver-onlyoffice-0.0.5/createlinks
2 --- smeserver-onlyoffice-0.0.5.old/createlinks 2022-07-05 23:39:57.000000000 -0400
3 +++ smeserver-onlyoffice-0.0.5/createlinks 2022-12-26 22:14:24.359000000 -0500
4 @@ -52,8 +52,21 @@
5 event_actions($event, qw(
6 smeserver-onlyoffice-conf 20
7 ));
8 +event_templates($event, qw(
9 + /etc/nginx/conf.d/ds.conf
10 + /etc/nginx/includes/http-common.conf
11 + /etc/nginx/certificate.crt
12 +));
13
14 -
15 +$event = "post-upgrade";
16 +event_actions($event, qw(
17 + smeserver-onlyoffice-conf 20
18 +));
19 +event_templates($event, qw(
20 + /etc/nginx/conf.d/ds.conf
21 + /etc/nginx/includes/http-common.conf
22 + /etc/nginx/certificate.crt
23 +));
24
25
26
27 diff -Nur --no-dereference smeserver-onlyoffice-0.0.5.old/root/etc/yum/post-actions/onlyoffice-documentserver.action smeserver-onlyoffice-0.0.5/root/etc/yum/post-actions/onlyoffice-documentserver.action
28 --- smeserver-onlyoffice-0.0.5.old/root/etc/yum/post-actions/onlyoffice-documentserver.action 1969-12-31 19:00:00.000000000 -0500
29 +++ smeserver-onlyoffice-0.0.5/root/etc/yum/post-actions/onlyoffice-documentserver.action 2022-12-26 22:24:09.752000000 -0500
30 @@ -0,0 +1 @@
31 +onlyoffice-documentserver:any:/sbin/e-smith/signal-event smeserver-onlyoffice-update
32 diff -Nur --no-dereference smeserver-onlyoffice-0.0.5.old/root/usr/lib/systemd/system/nginx.service.d/60koozali.conf smeserver-onlyoffice-0.0.5/root/usr/lib/systemd/system/nginx.service.d/60koozali.conf
33 --- smeserver-onlyoffice-0.0.5.old/root/usr/lib/systemd/system/nginx.service.d/60koozali.conf 1969-12-31 19:00:00.000000000 -0500
34 +++ smeserver-onlyoffice-0.0.5/root/usr/lib/systemd/system/nginx.service.d/60koozali.conf 2022-12-26 22:18:45.843000000 -0500
35 @@ -0,0 +1,5 @@
36 +[Service]
37 +ExecStartPre=-/sbin/e-smith/expand-template /etc/nginx/conf.d/ds.conf
38 +ExecStartPre=-/sbin/e-smith/expand-template /etc/nginx/includes/http-common.conf
39 +ExecStartPre=-/sbin/e-smith/expand-template /etc/nginx/certificate.crt
40 +

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