--- rpms/smeserver-sysmon/contribs10/smeserver-sysmon-systemd-11072.patch 2022/08/06 01:04:28 1.5 +++ rpms/smeserver-sysmon/contribs10/smeserver-sysmon-systemd-11072.patch 2022/08/06 03:06:56 1.6 @@ -54,8 +54,11 @@ diff -urN smeserver-sysmon-6.5.old/root/ @@ -0,0 +1,5 @@ + +[Service] ++ExecStartPre= ++ExecStartPre=-/sbin/e-smith/service-status sysmon ++ExecStartPre=-/sbin/e-smith/expand-template /usr/lib/systemd/system/sysmon.service.d/50koozali.conf +ExecStart= -+ExecStart=/usr/sbin/sysmon ++ExecStart=-/usr/sbin/sysmon + diff -urN smeserver-sysmon-6.5.old/root/etc/e-smith/templates/usr/lib/systemd/system/sysmon.service.d/50koozali.conf/30Install smeserver-sysmon-6.5/root/etc/e-smith/templates/usr/lib/systemd/system/sysmon.service.d/50koozali.conf/30Install --- smeserver-sysmon-6.5.old/root/etc/e-smith/templates/usr/lib/systemd/system/sysmon.service.d/50koozali.conf/30Install 1970-01-01 10:00:00.000000000 +1000 @@ -123,9 +126,12 @@ diff -urN smeserver-sysmon-6.5.old/root/ +Wants=network-online.target + +[Service] ++ExecStartPre= ++ExecStartPre=-/sbin/e-smith/service-status sysmon ++ExecStartPre=-/sbin/e-smith/expand-template /usr/lib/systemd/system/sysmon.service.d/50koozali.conf +ExecStart= -+ExecStart=/usr/bin/perl /usr/sbin/sysmon -+ ++ExecStart=-/usr/sbin/sysmon ++ +[Install] +WantedBy= sme-server.target + @@ -140,8 +146,11 @@ diff -urN smeserver-sysmon-6.5.old/root/ +Wants=network-online.target + +[Service] ++ExecStartPre= ++ExecStartPre=-/sbin/e-smith/service-status sysmon ++ExecStartPre=-/sbin/e-smith/expand-template /usr/lib/systemd/system/sysmon.service.d/50koozali.conf +ExecStart= -+ExecStart=/usr/bin/perl /usr/sbin/sysmon ++ExecStart=-/usr/sbin/sysmon + +[Install] +WantedBy= sme-server.target