Systemd units are now installed in multi-arch path
This commit is contained in:
parent
b5e16725fa
commit
4730afcab2
8
debian/rules
vendored
8
debian/rules
vendored
|
@ -68,13 +68,13 @@ common-install-arch::
|
|||
|
||||
# Install systemd files only on systems where it's supported
|
||||
ifeq (linux,$(DEB_HOST_ARCH_OS))
|
||||
install -m 644 -D $(CURDIR)/debian/tmp/lib/systemd/system/nut-monitor.service \
|
||||
install -m 644 -D $(CURDIR)/debian/tmp/lib/$(DEB_HOST_MULTIARCH)/systemd/system/nut-monitor.service \
|
||||
$(CURDIR)/debian/nut-client/lib/systemd/system/nut-monitor.service
|
||||
install -D $(CURDIR)/debian/tmp/lib/systemd/system-shutdown/nutshutdown \
|
||||
install -D $(CURDIR)/debian/tmp/lib/$(DEB_HOST_MULTIARCH)/systemd/system-shutdown/nutshutdown \
|
||||
$(CURDIR)/debian/nut-server/lib/systemd/system-shutdown/nutshutdown
|
||||
install -m 644 -D $(CURDIR)/debian/tmp/lib/systemd/system/nut-driver.service \
|
||||
install -m 644 -D $(CURDIR)/debian/tmp/lib/$(DEB_HOST_MULTIARCH)/systemd/system/nut-driver.service \
|
||||
$(CURDIR)/debian/nut-server/lib/systemd/system/nut-driver.service
|
||||
install -m 644 -D $(CURDIR)/debian/tmp/lib/systemd/system/nut-server.service \
|
||||
install -m 644 -D $(CURDIR)/debian/tmp/lib/$(DEB_HOST_MULTIARCH)/systemd/system/nut-server.service \
|
||||
$(CURDIR)/debian/nut-server/lib/systemd/system/nut-server.service
|
||||
endif
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user