scylla-jmx/dist/debian/rules.mustache
Takuya ASADA b99809d3d2 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)
2020-07-27 14:20:50 +03:00

23 lines
375 B
Plaintext
Executable File

#!/usr/bin/make -f
override_dh_auto_build:
override_dh_auto_clean:
override_dh_auto_install:
dh_auto_install
./install.sh --root "$(CURDIR)/debian/tmp" --sysconfdir /etc/default
override_dh_installinit:
{{#scylla}}
dh_installinit --no-start
{{/scylla}}
{{^scylla}}
dh_installinit --no-start --name scylla-jmx
{{/scylla}}
override_dh_strip_nondeterminism:
%:
dh $@