From 2c9565024f6ab70e18be3c0e5b1e0b732c052c7c Mon Sep 17 00:00:00 2001 From: Amos Kong Date: Mon, 28 Dec 2020 21:49:47 +0800 Subject: [PATCH] install.sh: set a valid WorkingDirectory for nonroot offline install 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 --- install.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/install.sh b/install.sh index fca2ef6..bae587c 100755 --- a/install.sh +++ b/install.sh @@ -138,7 +138,7 @@ ExecStart= ExecStart=$rprefix/jmx/scylla-jmx \$SCYLLA_JMX_PORT \$SCYLLA_API_PORT \$SCYLLA_API_ADDR \$SCYLLA_JMX_ADDR \$SCYLLA_JMX_FILE \$SCYLLA_JMX_LOCAL \$SCYLLA_JMX_REMOTE \$SCYLLA_JMX_DEBUG User= Group= -WorkingDirectory= +WorkingDirectory=$rprefix EOS fi