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 |
+ |