ALT Linux Bugzilla
– Attachment 6431 Details for
Bug 31513
Пакет nut-server: разница в скриптах SysV и systemd
New bug
|
Search
|
[?]
|
Help
Register
|
Log In
[x]
|
Forgot Password
Login:
[x]
|
EN
|
RU
[patch]
замена патча для пакета nut
nut-2.6.5-alt-systemd.patch (text/plain), 1.05 KB, created by
Стас
on 2015-11-18 10:13:15 MSK
(
hide
)
Description:
замена патча для пакета nut
Filename:
MIME Type:
Creator:
Стас
Created:
2015-11-18 10:13:15 MSK
Size:
1.05 KB
patch
obsolete
>diff -ur nut-2.6.5/scripts/systemd/nut-driver.service.in nut-2.6.5.new/scripts/systemd/nut-driver.service.in >--- nut-2.6.5/scripts/systemd/nut-driver.service.in 2012-11-22 17:07:26.000000000 +0500 >+++ nut-2.6.5.new/scripts/systemd/nut-driver.service.in 2015-11-08 13:17:45.371907362 +0500 >@@ -4,7 +4,8 @@ > StopWhenUnneeded=yes > > [Service] >-ExecStart=@driverexecdir@/upsdrvctl start >+EnvironmentFile=/etc/sysconfig/upsd >+ExecStartPre=/bin/cp -p $UPS_CONF ${CHROOTDIR}${UPS_CONF} >+ExecStart=@driverexecdir@/upsdrvctl ${UPSDRV_OPTIONS} start > ExecStop=@driverexecdir@/upsdrvctl stop > Type=forking >- >diff -ur nut-2.6.5/scripts/systemd/nut-server.service.in nut-2.6.5.new/scripts/systemd/nut-server.service.in >--- nut-2.6.5/scripts/systemd/nut-server.service.in 2012-11-22 16:07:27.425165061 +0400 >+++ nut-2.6.5.new/scripts/systemd/nut-server.service.in 2012-11-22 16:26:30.284189450 +0400 >@@ -5,7 +5,8 @@ > Before=nut-monitor.service > > [Service] >-ExecStart=@SBINDIR@/upsd -F >+EnvironmentFile=/etc/sysconfig/upsd >+ExecStart=@SBINDIR@/upsd -F ${UPSD_OPTIONS} > Type=simple > > [Install]
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 31513
: 6431