debian/patches/0004-fix-systemd-service.patch: Fix path for upsdrvctl in scripts/systemd/nutshutdown.in

This commit is contained in:
Laurent Bigonville 2013-07-10 22:48:24 +02:00
parent fd9b4809ec
commit 154f28c325
2 changed files with 9 additions and 1 deletions

View file

@ -26,3 +26,9 @@ Forwarded: not-needed
[Install]
WantedBy=multi-user.target
+Alias=nut-client.service
--- a/scripts/systemd/nutshutdown.in
+++ b/scripts/systemd/nutshutdown.in
@@ -1,2 +1,2 @@
#!/bin/sh
-@SBINDIR@/upsmon -K >/dev/null 2>&1 && @driverexecdir@/upsdrvctl shutdown
+@SBINDIR@/upsmon -K >/dev/null 2>&1 && @SBINDIR@/upsdrvctl shutdown