41 |
+# systemd-specific action mandatory for this package-update event |
+# systemd-specific action mandatory for this package-update event |
42 |
+event_link("systemd-reload", $event, "89"); |
+event_link("systemd-reload", $event, "89"); |
43 |
+event_link("systemd-default", $event, "88"); |
+event_link("systemd-default", $event, "88"); |
44 |
+safe_symlink("try-restart", "root/etc/e-smith/events/$event/services2adjust/sshd"); |
+safe_symlink("restart", "root/etc/e-smith/events/$event/services2adjust/sshd"); |
45 |
|
|
46 |
-service_link_enhanced("sshd", "S85", "7"); |
-service_link_enhanced("sshd", "S85", "7"); |
47 |
-safe_symlink("../init.d/supervise/sshd", "root/etc/rc.d/rc6.d/K25sshd"); |
-safe_symlink("../init.d/supervise/sshd", "root/etc/rc.d/rc6.d/K25sshd"); |
161 |
diff -Nur e-smith-openssh-2.6.0.old/root/usr/lib/systemd/system/sshd.service.d/50-koozali.conf e-smith-openssh-2.6.0/root/usr/lib/systemd/system/sshd.service.d/50-koozali.conf |
diff -Nur e-smith-openssh-2.6.0.old/root/usr/lib/systemd/system/sshd.service.d/50-koozali.conf e-smith-openssh-2.6.0/root/usr/lib/systemd/system/sshd.service.d/50-koozali.conf |
162 |
--- e-smith-openssh-2.6.0.old/root/usr/lib/systemd/system/sshd.service.d/50-koozali.conf 1969-12-31 19:00:00.000000000 -0500 |
--- e-smith-openssh-2.6.0.old/root/usr/lib/systemd/system/sshd.service.d/50-koozali.conf 1969-12-31 19:00:00.000000000 -0500 |
163 |
+++ e-smith-openssh-2.6.0/root/usr/lib/systemd/system/sshd.service.d/50-koozali.conf 2020-12-11 15:25:37.919000000 -0500 |
+++ e-smith-openssh-2.6.0/root/usr/lib/systemd/system/sshd.service.d/50-koozali.conf 2020-12-11 15:25:37.919000000 -0500 |
164 |
@@ -0,0 +1,6 @@ |
@@ -0,0 +1,7 @@ |
165 |
+[Service] |
+[Service] |
166 |
+ExecStartPre=/sbin/e-smith/service-status sshd |
+ExecStartPre=/sbin/e-smith/service-status sshd |
167 |
+ExecStartPre=/sbin/e-smith/systemd/sshd-prepare |
+ExecStartPre=/sbin/e-smith/systemd/sshd-prepare |
168 |
|
+ExecStartPre=-/sbin/e-smith/expand-template /etc/ssh/sshd_config |
169 |
+ |
+ |
170 |
+[Install] |
+[Install] |
171 |
+WantedBy=sme-server.target |
+WantedBy=sme-server.target |