Packages: added systemd service for debug binary.

This commit is contained in:
Andrei Belov
2021-12-02 08:52:52 +03:00
parent c6c74d117d
commit 7edc5b82d5
4 changed files with 50 additions and 5 deletions

View File

@@ -99,7 +99,8 @@ install: build do.tests
dh_testroot
dh_prep
dh_installdirs
dh_installsystemd
dh_installsystemd -punit --name=unit unit.service
dh_installsystemd -punit --name=unit-debug --no-start --no-enable unit-debug.service
dh_installlogrotate
cd $(BUILDDIR_unit) && DESTDIR=$(INSTALLDIR) make install
cd $(BUILDDIR_unit) && DESTDIR=$(INSTALLDIR_dev) make libunit-install