/[smeserver]/rpms/e-smith-nutUPS/sme10/e-smith-nutUPS-2.6.0-bz9423-bz11146.patch
ViewVC logotype

Diff of /rpms/e-smith-nutUPS/sme10/e-smith-nutUPS-2.6.0-bz9423-bz11146.patch

Parent Directory Parent Directory | Revision Log Revision Log | View Revision Graph Revision Graph | View Patch Patch

Revision 1.2 by jpp, Wed Nov 18 22:23:34 2020 UTC Revision 1.4 by jpp, Thu Nov 19 04:26:24 2020 UTC
# Line 24  diff -Nur e-smith-nutUPS-2.6.0.old/creat Line 24  diff -Nur e-smith-nutUPS-2.6.0.old/creat
24   }   }
25  +  +
26  +my $event="e-smith-nutUPS-update";  +my $event="e-smith-nutUPS-update";
27  +safe_symlink("try-reload-or-restart", "root/etc/e-smith/events/$event/services2adjust/nut");  +safe_symlink("try-restart", "root/etc/e-smith/events/$event/services2adjust/nut");
28  +templates2events("/etc/systemd/system-preset/49-koozali.preset", $event);  +templates2events("/etc/systemd/system-preset/49-koozali.preset", $event);
29  +event_link("systemd-default", $event, "06");  +event_link("systemd-default", $event, "06");
30  diff -Nur e-smith-nutUPS-2.6.0.old/root/etc/e-smith/templates/etc/systemd/system-preset/49-koozali.preset/70nutUPS e-smith-nutUPS-2.6.0/root/etc/e-smith/templates/etc/systemd/system-preset/49-koozali.preset/70nutUPS  diff -Nur e-smith-nutUPS-2.6.0.old/root/etc/e-smith/templates/etc/systemd/system-preset/49-koozali.preset/70nutUPS e-smith-nutUPS-2.6.0/root/etc/e-smith/templates/etc/systemd/system-preset/49-koozali.preset/70nutUPS
# Line 96  diff -Nur e-smith-nutUPS-2.6.0.old/root/ Line 96  diff -Nur e-smith-nutUPS-2.6.0.old/root/
96  +  +
97  +[Service]  +[Service]
98  +ExecStartPre=/sbin/e-smith/service-status nut  +ExecStartPre=/sbin/e-smith/service-status nut
99  +ExecStartPre=- /sbin/e-smith/expand-template /etc/sysconfig/ups  +ExecStartPre=-/sbin/e-smith/expand-template /etc/sysconfig/ups
100  +ExecStartPre=- /sbin/e-smith/expand-template /etc/ups/ups.conf  +ExecStartPre=-/sbin/e-smith/expand-template /etc/ups/ups.conf
101  +ExecStartPre=- /etc/ups/upsd.conf  +ExecStartPre=-/etc/ups/upsd.conf
102  +ExecStartPre=- /etc/ups/upsd.users  +ExecStartPre=-/etc/ups/upsd.users
103  +ExecStartPre=- /etc/ups/upsmon.conf  +ExecStartPre=-/etc/ups/upsmon.conf
104  +ExecStartPre=- /etc/ups/upssched.conf  +ExecStartPre=-/etc/ups/upssched.conf
105  +  +
106  +# The dummy program will exit  +# The dummy program will exit
107  +Type=oneshot  +Type=oneshot


Legend:
Removed lines/characters  
Changed lines/characters
  Added lines/characters

admin@koozali.org
ViewVC Help
Powered by ViewVC 1.2.1 RSS 2.0 feed