summaryrefslogtreecommitdiffhomepage
path: root/pkg/deb/debian/rules.in
diff options
context:
space:
mode:
authorAndrei Belov <defan@nginx.com>2021-12-02 18:42:23 +0300
committerAndrei Belov <defan@nginx.com>2021-12-02 18:42:23 +0300
commit7634ab0f21c712e79c5d09e5817f866ff71d4f49 (patch)
tree1c4b20be29a9372858088c9faa3f02e7f584402f /pkg/deb/debian/rules.in
parent5dfde9717d9ef611072defdd211089efa920c728 (diff)
parent85908c09f9b7d8d0bd797427d984e2697ece8267 (diff)
downloadunit-1.26.1-1.tar.gz
unit-1.26.1-1.tar.bz2
Merged with the 1.26 branch.1.26.1-1
Diffstat (limited to 'pkg/deb/debian/rules.in')
-rw-r--r--pkg/deb/debian/rules.in3
1 files changed, 2 insertions, 1 deletions
diff --git a/pkg/deb/debian/rules.in b/pkg/deb/debian/rules.in
index 3f1f9db8..fe7d5c7c 100644
--- a/pkg/deb/debian/rules.in
+++ b/pkg/deb/debian/rules.in
@@ -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