1 |
diff -urN e-smith-nutUPS-2.6.0.old/root/usr/lib/systemd/system/nut.service e-smith-nutUPS-2.6.0/root/usr/lib/systemd/system/nut.service |
2 |
--- e-smith-nutUPS-2.6.0.old/root/usr/lib/systemd/system/nut.service 2021-03-24 20:16:46.070238638 -0400 |
3 |
+++ e-smith-nutUPS-2.6.0/root/usr/lib/systemd/system/nut.service 2021-03-24 20:19:13.000000000 -0400 |
4 |
@@ -6,10 +6,10 @@ |
5 |
ExecStartPre=/sbin/e-smith/service-status nut |
6 |
ExecStartPre=-/sbin/e-smith/expand-template /etc/sysconfig/ups |
7 |
ExecStartPre=-/sbin/e-smith/expand-template /etc/ups/ups.conf |
8 |
-ExecStartPre=-/etc/ups/upsd.conf |
9 |
-ExecStartPre=-/etc/ups/upsd.users |
10 |
-ExecStartPre=-/etc/ups/upsmon.conf |
11 |
-ExecStartPre=-/etc/ups/upssched.conf |
12 |
+ExecStartPre=-/sbin/e-smith/expand-template /etc/ups/upsd.conf |
13 |
+ExecStartPre=-/sbin/e-smith/expand-template /etc/ups/upsd.users |
14 |
+ExecStartPre=-/sbin/e-smith/expand-template /etc/ups/upsmon.conf |
15 |
+ExecStartPre=-/sbin/e-smith/expand-template /etc/ups/upssched.conf |
16 |
|
17 |
# The dummy program will exit |
18 |
Type=oneshot |