summaryrefslogtreecommitdiffhomepage
path: root/pkg/deb/debian/rules.in
diff options
context:
space:
mode:
authorAndrei Belov <defan@nginx.com>2021-12-02 08:52:52 +0300
committerAndrei Belov <defan@nginx.com>2021-12-02 08:52:52 +0300
commit8aa40e5901d1f9d05c35ddb7b93c2df8328d3e60 (patch)
tree0be243576cdefe5d081873c57c74665a6997d043 /pkg/deb/debian/rules.in
parent2d6e926a1def94e4def5b8f8da73078685626ff4 (diff)
downloadunit-8aa40e5901d1f9d05c35ddb7b93c2df8328d3e60.tar.gz
unit-8aa40e5901d1f9d05c35ddb7b93c2df8328d3e60.tar.bz2
Packages: added systemd service for debug binary.
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