From 735ae365b47d51a7c5877d757cbe15e587bb8151 Mon Sep 17 00:00:00 2001 From: Mike Croft Date: Sun, 16 Aug 2015 19:07:35 +0100 Subject: [PATCH] added section to start the Payara pre-relase version service properly --- provision.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/provision.sh b/provision.sh index 6247786..4779438 100644 --- a/provision.sh +++ b/provision.sh @@ -99,8 +99,6 @@ installService() { echo "Adding payara system startup..." sudo update-rc.d payara defaults > /dev/null - #sudo chown -R vagrant:vagrant $PAYARA_HOME # Make sure vagrant owns dir - echo "starting Payara..." # Explicitly start payaradomain by default @@ -114,6 +112,9 @@ installService() { 4.1.153) su - vagrant -c 'service payara start payaradomain' ;; + PRE-RELEASE) + su - vagrant -c 'service payara start payaradomain' + ;; /*) echo "Unknown Payara version, attempting to start domain1..." su - vagrant -c 'service payara start domain1' -- 2.39.5