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 Related29285b28e2
(cherry picked from commit2883a8dc63
)
This commit is contained in:
parent
75618699ec
commit
faea829ba0
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/*
|
2
dist/debian/rules.mustache
vendored
2
dist/debian/rules.mustache
vendored
@ -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}}
|
||||||
|
Loading…
Reference in New Issue
Block a user