debian/rules: Mask ups-monitor LSB initscript
debian/rules: Mask ups-monitor, this is not a real LSB initscript but it's a symlink to the nut-client one. The purpose of this was to offer a common interface to shutdown the UPS in case of power loss, this is not necessary with systemd as this functionality is handeled by the /lib/systemd/system-shutdown/nutshutdown script now.
This commit is contained in:
parent
d31c6dcb9b
commit
08d39e662c
2 changed files with 7 additions and 1 deletions
1
debian/rules
vendored
1
debian/rules
vendored
|
@ -102,6 +102,7 @@ ifeq (linux,$(DEB_HOST_ARCH_OS))
|
|||
|
||||
# Add a symlink to mask the LSB initscript
|
||||
ln -s nut-monitor.service $(CURDIR)/debian/nut-client/lib/systemd/system/nut-client.service
|
||||
ln -s /dev/null $(CURDIR)/debian/nut-client/lib/systemd/system/ups-monitor.service
|
||||
|
||||
# Install tmpfiles config file to create /run/nut directory
|
||||
install -m 644 -D $(CURDIR)/debian/nut-client.tmpfiles \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue