summaryrefslogtreecommitdiffstats
path: root/abs/extra/network-ups-tools/nut-driver.service.patch
blob: fec811686626b06e0823aa466962af21ce7bdfe5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
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