summaryrefslogtreecommitdiffstats
path: root/abs/extra/network-ups-tools/nut-driver.service.patch
diff options
context:
space:
mode:
Diffstat (limited to 'abs/extra/network-ups-tools/nut-driver.service.patch')
-rw-r--r--abs/extra/network-ups-tools/nut-driver.service.patch14
1 files changed, 14 insertions, 0 deletions
diff --git a/abs/extra/network-ups-tools/nut-driver.service.patch b/abs/extra/network-ups-tools/nut-driver.service.patch
new file mode 100644
index 0000000..fec8116
--- /dev/null
+++ b/abs/extra/network-ups-tools/nut-driver.service.patch
@@ -0,0 +1,14 @@
+--- pkg/usr/lib/systemd/system/nut-driver.service 2012-10-15 21:50:08.216981122 +0400
++++ pkg/usr/lib/systemd/system/nut-driver.service 2012-10-15 22:08:44.826990389 +0400
+@@ -4,7 +4,9 @@
+ StopWhenUnneeded=yes
+
+ [Service]
+-ExecStart=${exec_prefix}/bin/upsdrvctl start
+-ExecStop=${exec_prefix}/bin/upsdrvctl stop
++ExecStart=/usr/bin/upsdrvctl start
++ExecStop=/usr/bin/upsdrvctl stop
+ Type=forking
+
++[Install]
++WantedBy=multi-user.target