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
This commit is contained in:
parent
354df10ea9
commit
2883a8dc63
2
dist/debian/debian/rules
vendored
2
dist/debian/debian/rules
vendored
@ -8,7 +8,7 @@ override_dh_auto_clean:
|
|||||||
|
|
||||||
override_dh_auto_install:
|
override_dh_auto_install:
|
||||||
dh_auto_install
|
dh_auto_install
|
||||||
cd scylla-jmx; ./install.sh --root "$(CURDIR)/debian/$(DEB_SOURCE)" --sysconfdir /etc/default
|
cd scylla-jmx; ./install.sh --root "$(CURDIR)/debian/tmp" --sysconfdir /etc/default
|
||||||
|
|
||||||
override_dh_installinit:
|
override_dh_installinit:
|
||||||
ifeq ($(DEB_SOURCE),scylla-jmx)
|
ifeq ($(DEB_SOURCE),scylla-jmx)
|
||||||
|
4
dist/debian/debian/scylla-jmx.install
vendored
Normal file
4
dist/debian/debian/scylla-jmx.install
vendored
Normal 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/*
|
Loading…
Reference in New Issue
Block a user