dist/debian: don't install systemd unit by install.sh, use debian/*.service

Installing *.service by install.sh script causes the error on installing .deb
package, use debian/*.service instead.

Fixes scylladb/scylla#6010
Related scylladb/scylla#5640
Related 29285b28e2

(cherry picked from commit 2883a8dc63)
This commit is contained in:
Takuya ASADA 2020-06-07 18:08:25 +09:00 committed by Avi Kivity
parent dc8f73ea73
commit b99809d3d2
2 changed files with 5 additions and 1 deletions

4
dist/debian/debian/scylla-jmx.install vendored Normal file
View File

@ -0,0 +1,4 @@
etc/default/scylla-jmx
etc/systemd/system/scylla-jmx.service.d/sysconfdir.conf
opt/scylladb/jmx/*
usr/lib/scylla/jmx/*

View File

@ -6,7 +6,7 @@ override_dh_auto_clean:
override_dh_auto_install: override_dh_auto_install:
dh_auto_install dh_auto_install
./install.sh --root "$(CURDIR)/debian/{{product}}-jmx" --sysconfdir /etc/default ./install.sh --root "$(CURDIR)/debian/tmp" --sysconfdir /etc/default
override_dh_installinit: override_dh_installinit:
{{#scylla}} {{#scylla}}