--- rpms/e-smith-qmail/sme10/e-smith-qmail-2.6.0-bz11105-systemd2.patch 2020/12/05 03:20:40 1.2 +++ rpms/e-smith-qmail/sme10/e-smith-qmail-2.6.0-bz11105-systemd2.patch 2020/12/07 03:48:57 1.4 @@ -10,3 +10,33 @@ diff -Nur e-smith-qmail-2.6.0.old/create #-------------------------------------------------- # actions for pseudonym-{create,delete,modify} +@@ -216,12 +216,6 @@ + safe_symlink("sighup", "root/etc/e-smith/events/$event/services2adjust/qmail"); + } + +-safe_symlink("daemontools", "root/etc/rc.d/init.d/qmail"); +-#service_link_enhanced("qmail", "S80", "7"); +-service_link_enhanced("qmail", "K60", "6"); +-service_link_enhanced("qmail", "K60", "0"); +-service_link_enhanced("qmail", "K60", "1"); +- + safe_symlink(".qmail", "root/home/e-smith/.qmail-default"); + safe_symlink(".qmail-shared", "root/var/qmail/alias/.qmail-shared-default"); + +diff -Nur e-smith-qmail-2.6.0.old/createlinks e-smith-qmail-2.6.0/createlinks +--- e-smith-qmail-2.6.0.old/createlinks 2020-12-06 22:43:16.425000000 -0500 ++++ e-smith-qmail-2.6.0/createlinks 2020-12-06 22:45:36.724000000 -0500 +@@ -202,6 +202,8 @@ + $event = "e-smith-qmail-update"; + + safe_symlink("restart", "root/etc/e-smith/events/$event/services2adjust/qmail"); ++event_link("systemd-reload", $event, "89"); ++event_link("systemd-default", $event, "88"); + + #-------------------------------------------------- + # actions for pseudonym-{create,delete,modify} +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 +--- 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 ++++ e-smith-qmail-2.6.0/root/usr/lib/systemd/system-preset/80-koozali-qmail.preset 1969-12-31 19:00:00.000000000 -0500 +@@ -1 +0,0 @@ +-enable qmail.service