debian/rules: Drop manual creation of .service files symlink, this should be handled by dh_systemd now

This commit is contained in:
Laurent Bigonville 2013-06-26 18:48:42 +02:00
parent 65234e6c7b
commit a60005575f
2 changed files with 3 additions and 6 deletions

5
debian/rules vendored
View file

@ -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::