From: Mike Croft Date: Sun, 16 Aug 2015 18:07:35 +0000 (+0100) Subject: added section to start the Payara pre-relase version service properly X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=735ae365b47d51a7c5877d757cbe15e587bb8151;p=payara-vagrant.git added section to start the Payara pre-relase version service properly --- 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'