debian/rules, debian/control, d/p/0004-fix-systemd-service.patch: Use a symlink instead of an Alias= to mask the SysV initscript
This commit is contained in:
parent
e02d926691
commit
9b564eb7df
4 changed files with 11 additions and 8 deletions
|
|
@ -19,13 +19,6 @@ Forwarded: not-needed
|
|||
+ExecStop=@SBINDIR@/upsdrvctl stop
|
||||
Type=forking
|
||||
|
||||
--- a/scripts/systemd/nut-monitor.service.in
|
||||
+++ b/scripts/systemd/nut-monitor.service.in
|
||||
@@ -9,3 +9,4 @@ Type=forking
|
||||
|
||||
[Install]
|
||||
WantedBy=multi-user.target
|
||||
+Alias=nut-client.service
|
||||
--- a/scripts/systemd/nutshutdown.in
|
||||
+++ b/scripts/systemd/nutshutdown.in
|
||||
@@ -1,2 +1,2 @@
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue