scylladb / scylla-jmx

Scylla JMX proxy
GNU Affero General Public License v3.0
28 stars 52 forks source link

install.sh: set a valid WorkingDirectory for nonroot offline install #152

Closed amoskong closed 3 years ago

amoskong commented 3 years ago

In commit 6311525, we set an empty value to WorkDirectory for nonroot.conf of scylla-jmx.service. It works with ubuntu16, debian9, debian 10. But it doesn't work with ubuntu 18.

This patch changed the WorkingDirectory of nonroot offline install to default install directory (/home/scylla-test/scylladb).

Fixes: #151 Signed-off-by: Amos Kong amos@scylladb.com

amoskong commented 3 years ago

Tested this PR by two jobs:

All passed. WorkingDirectory was set to '/home/scylla-test/scylladb'

amoskong commented 3 years ago

@avikivity @roydahan

nonroot offline install of ubuntu18 with scylla-master Passed.

But the test with scylla-4.3 still fail, so we need to backport this PR to 4.3