/[smeserver]/rpms/e-smith-qmail/sme10/e-smith-qmail-2.6.0-bz11105-systemd2.patch
ViewVC logotype

Contents of /rpms/e-smith-qmail/sme10/e-smith-qmail-2.6.0-bz11105-systemd2.patch

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


Revision 1.4 - (show annotations) (download)
Mon Dec 7 03:48:57 2020 UTC (3 years, 5 months ago) by jpp
Branch: MAIN
CVS Tags: e-smith-qmail-2_6_0-13_el7_sme, e-smith-qmail-2_6_0-12_el7_sme, e-smith-qmail-2_6_0-14_el7_sme, e-smith-qmail-2_6_0-11_el7_sme, HEAD
Changes since 1.3: +17 -0 lines
* Sun Dec 06 2020 Jean-Philipe Pialasse <tests@pialasse.com> 2.6.0-11.sme
- fix missing actions for systemd on upgrade event [SME: 11105]
  cleanup preset file

1 diff -Nur e-smith-qmail-2.6.0.old/createlinks e-smith-qmail-2.6.0/createlinks
2 --- e-smith-qmail-2.6.0.old/createlinks 2020-12-04 00:56:26.546000000 -0500
3 +++ e-smith-qmail-2.6.0/createlinks 2020-12-04 02:14:53.286000000 -0500
4 @@ -202,8 +202,6 @@
5 $event = "e-smith-qmail-update";
6
7 safe_symlink("restart", "root/etc/e-smith/events/$event/services2adjust/qmail");
8 -templates2events("/etc/systemd/system-preset/49-koozali.preset", $event);
9 -event_link("systemd-reload", $event, "89");
10
11 #--------------------------------------------------
12 # actions for pseudonym-{create,delete,modify}
13 @@ -216,12 +216,6 @@
14 safe_symlink("sighup", "root/etc/e-smith/events/$event/services2adjust/qmail");
15 }
16
17 -safe_symlink("daemontools", "root/etc/rc.d/init.d/qmail");
18 -#service_link_enhanced("qmail", "S80", "7");
19 -service_link_enhanced("qmail", "K60", "6");
20 -service_link_enhanced("qmail", "K60", "0");
21 -service_link_enhanced("qmail", "K60", "1");
22 -
23 safe_symlink(".qmail", "root/home/e-smith/.qmail-default");
24 safe_symlink(".qmail-shared", "root/var/qmail/alias/.qmail-shared-default");
25
26 diff -Nur e-smith-qmail-2.6.0.old/createlinks e-smith-qmail-2.6.0/createlinks
27 --- e-smith-qmail-2.6.0.old/createlinks 2020-12-06 22:43:16.425000000 -0500
28 +++ e-smith-qmail-2.6.0/createlinks 2020-12-06 22:45:36.724000000 -0500
29 @@ -202,6 +202,8 @@
30 $event = "e-smith-qmail-update";
31
32 safe_symlink("restart", "root/etc/e-smith/events/$event/services2adjust/qmail");
33 +event_link("systemd-reload", $event, "89");
34 +event_link("systemd-default", $event, "88");
35
36 #--------------------------------------------------
37 # actions for pseudonym-{create,delete,modify}
38 diff -Nur e-smith-qmail-2.6.0.old/root/usr/lib/systemd/system-preset/80-koozali-qmail.preset e-smith-qmail-2.6.0/root/usr/lib/systemd/system-preset/80-koozali-qmail.preset
39 --- e-smith-qmail-2.6.0.old/root/usr/lib/systemd/system-preset/80-koozali-qmail.preset 2020-12-06 22:43:16.419000000 -0500
40 +++ e-smith-qmail-2.6.0/root/usr/lib/systemd/system-preset/80-koozali-qmail.preset 1969-12-31 19:00:00.000000000 -0500
41 @@ -1 +0,0 @@
42 -enable qmail.service

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