28 |
safe_symlink("restart", "root/etc/e-smith/events/smeserver-dovecot-update/services2adjust/dovecot"); |
safe_symlink("restart", "root/etc/e-smith/events/smeserver-dovecot-update/services2adjust/dovecot"); |
29 |
+safe_symlink("restart", "root/etc/e-smith/events/smeserver-dovecot-update/services2adjust/rsyslog"); |
+safe_symlink("restart", "root/etc/e-smith/events/smeserver-dovecot-update/services2adjust/rsyslog"); |
30 |
event_link("adjust-dovecot", "smeserver-dovecot-update", "02"); |
event_link("adjust-dovecot", "smeserver-dovecot-update", "02"); |
31 |
+event_link("systemd-reload", $event, "89"); |
+event_link("systemd-reload", "smeserver-dovecot-update", "89"); |
32 |
+event_link("systemd-default", $event, "88"); |
+event_link("systemd-default", "smeserver-dovecot-update", "88"); |
33 |
+templates2events("/etc/rsyslog.conf",$event); |
+templates2events("/etc/rsyslog.conf","smeserver-dovecot-update"); |
34 |
+templates2events("/usr/lib/systemd/system/dovecot.service.d/50koozali.conf",$event); |
+templates2events("/usr/lib/systemd/system/dovecot.service.d/50koozali.conf", qw(bootstrap-console-save console-save post-install post-upgrade smeserver-dovecot-update )); |
35 |
+ |
+ |
36 |
|
|
37 |
# in case the ip change |
# in case the ip change |
65 |
+ |
+ |
66 |
+#dovecot |
+#dovecot |
67 |
+:programname, isequal, "dovecot" /var/log/dovecot/dovecot.log |
+:programname, isequal, "dovecot" /var/log/dovecot/dovecot.log |
68 |
+:programname, isequal, "dovecot" stop |
+& stop |
69 |
+ |
+ |
70 |
+ |
+ |
71 |
diff -Nur smeserver-dovecot-1.6.0.old/root/etc/e-smith/templates/usr/lib/systemd/system/dovecot.service.d/50koozali.conf/40service smeserver-dovecot-1.6.0/root/etc/e-smith/templates/usr/lib/systemd/system/dovecot.service.d/50koozali.conf/40service |
diff -Nur smeserver-dovecot-1.6.0.old/root/etc/e-smith/templates/usr/lib/systemd/system/dovecot.service.d/50koozali.conf/40service smeserver-dovecot-1.6.0/root/etc/e-smith/templates/usr/lib/systemd/system/dovecot.service.d/50koozali.conf/40service |
72 |
--- smeserver-dovecot-1.6.0.old/root/etc/e-smith/templates/usr/lib/systemd/system/dovecot.service.d/50koozali.conf/40service 1969-12-31 19:00:00.000000000 -0500 |
--- smeserver-dovecot-1.6.0.old/root/etc/e-smith/templates/usr/lib/systemd/system/dovecot.service.d/50koozali.conf/40service 1969-12-31 19:00:00.000000000 -0500 |
73 |
+++ smeserver-dovecot-1.6.0/root/etc/e-smith/templates/usr/lib/systemd/system/dovecot.service.d/50koozali.conf/40service 2020-12-03 23:24:00.397227278 -0500 |
+++ smeserver-dovecot-1.6.0/root/etc/e-smith/templates/usr/lib/systemd/system/dovecot.service.d/50koozali.conf/40service 2020-12-03 23:24:00.397227278 -0500 |
74 |
@@ -0,0 +1,9 @@ |
@@ -0,0 +1,10 @@ |
75 |
+[Service] |
+[Service] |
76 |
+#first we reset the ExecStartPre |
+#first we reset the ExecStartPre |
77 |
+ExecStartPre= |
+ExecStartPre= |
81 |
+ExecStartPre=-/sbin/e-smith/expand-template /etc/dovecot/master.users |
+ExecStartPre=-/sbin/e-smith/expand-template /etc/dovecot/master.users |
82 |
+ExecStartPre=-/sbin/e-smith/systemd/dovecot-control |
+ExecStartPre=-/sbin/e-smith/systemd/dovecot-control |
83 |
+ExecStartPre=-/usr/sbin/portrelease dovecot |
+ExecStartPre=-/usr/sbin/portrelease dovecot |
84 |
|
+Restart=always |
85 |
diff -Nur smeserver-dovecot-1.6.0.old/root/etc/e-smith/templates/usr/lib/systemd/system/dovecot.service.d/50koozali.conf/80install smeserver-dovecot-1.6.0/root/etc/e-smith/templates/usr/lib/systemd/system/dovecot.service.d/50koozali.conf/80install |
diff -Nur smeserver-dovecot-1.6.0.old/root/etc/e-smith/templates/usr/lib/systemd/system/dovecot.service.d/50koozali.conf/80install smeserver-dovecot-1.6.0/root/etc/e-smith/templates/usr/lib/systemd/system/dovecot.service.d/50koozali.conf/80install |
86 |
--- smeserver-dovecot-1.6.0.old/root/etc/e-smith/templates/usr/lib/systemd/system/dovecot.service.d/50koozali.conf/80install 1969-12-31 19:00:00.000000000 -0500 |
--- smeserver-dovecot-1.6.0.old/root/etc/e-smith/templates/usr/lib/systemd/system/dovecot.service.d/50koozali.conf/80install 1969-12-31 19:00:00.000000000 -0500 |
87 |
+++ smeserver-dovecot-1.6.0/root/etc/e-smith/templates/usr/lib/systemd/system/dovecot.service.d/50koozali.conf/80install 2020-12-03 23:18:07.193615380 -0500 |
+++ smeserver-dovecot-1.6.0/root/etc/e-smith/templates/usr/lib/systemd/system/dovecot.service.d/50koozali.conf/80install 2020-12-03 23:18:07.193615380 -0500 |