--- rpms/e-smith-nutUPS/sme10/e-smith-nutUPS-2.6.0-bz9423-bz11146.patch 2020/11/18 22:33:21 1.3 +++ rpms/e-smith-nutUPS/sme10/e-smith-nutUPS-2.6.0-bz9423-bz11146.patch 2020/11/19 04:26:24 1.4 @@ -96,12 +96,12 @@ diff -Nur e-smith-nutUPS-2.6.0.old/root/ + +[Service] +ExecStartPre=/sbin/e-smith/service-status nut -+ExecStartPre=- /sbin/e-smith/expand-template /etc/sysconfig/ups -+ExecStartPre=- /sbin/e-smith/expand-template /etc/ups/ups.conf -+ExecStartPre=- /etc/ups/upsd.conf -+ExecStartPre=- /etc/ups/upsd.users -+ExecStartPre=- /etc/ups/upsmon.conf -+ExecStartPre=- /etc/ups/upssched.conf ++ExecStartPre=-/sbin/e-smith/expand-template /etc/sysconfig/ups ++ExecStartPre=-/sbin/e-smith/expand-template /etc/ups/ups.conf ++ExecStartPre=-/etc/ups/upsd.conf ++ExecStartPre=-/etc/ups/upsd.users ++ExecStartPre=-/etc/ups/upsmon.conf ++ExecStartPre=-/etc/ups/upssched.conf + +# The dummy program will exit +Type=oneshot