aboutsummaryrefslogtreecommitdiffstats
path: root/vespabase
diff options
context:
space:
mode:
Diffstat (limited to 'vespabase')
-rwxr-xr-xvespabase/src/rhel-prestart.sh3
1 files changed, 3 insertions, 0 deletions
diff --git a/vespabase/src/rhel-prestart.sh b/vespabase/src/rhel-prestart.sh
index 1d1f3ace9ca..6ef3d6f59c3 100755
--- a/vespabase/src/rhel-prestart.sh
+++ b/vespabase/src/rhel-prestart.sh
@@ -78,6 +78,9 @@ findhost
if [ "$VESPA_USER" = "" ]; then
VESPA_USER=$(id -run)
fi
+if [ "$VESPA_GROUP" = "" ]; then
+ $VESPA_GROUP=$(id -rgn)
+fi
cd $VESPA_HOME || { echo "Cannot cd to $VESPA_HOME" 1>&2; exit 1; }