debian/rules: Drop manual creation of .service files symlink, this should be handled by dh_systemd now
This commit is contained in:
parent
65234e6c7b
commit
a60005575f
2 changed files with 3 additions and 6 deletions
5
debian/rules
vendored
5
debian/rules
vendored
|
|
@ -85,11 +85,6 @@ ifeq (linux,$(DEB_HOST_ARCH_OS))
|
|||
$(CURDIR)/debian/nut-client/usr/lib/tmpfiles.d/nut-client.conf
|
||||
install -m 644 -D $(CURDIR)/debian/nut-server.tmpfiles \
|
||||
$(CURDIR)/debian/nut-server/usr/lib/tmpfiles.d/nut-server.conf
|
||||
|
||||
# This is needed to avoid services to be started twice (systemd and LSB)
|
||||
mkdir -p $(CURDIR)/debian/nut-client/etc/systemd/system/
|
||||
ln -s /lib/systemd/system/nut-monitor.service \
|
||||
$(CURDIR)/debian/nut-client/etc/systemd/system/nut-client.service
|
||||
endif
|
||||
|
||||
common-install-indep::
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue