]> git.mxchange.org Git - payara-vagrant.git/commitdiff
added section to start the Payara pre-relase version service properly
authorMike Croft <backtotheoldhouse@gmail.com>
Sun, 16 Aug 2015 18:07:35 +0000 (19:07 +0100)
committerMike Croft <backtotheoldhouse@gmail.com>
Sun, 16 Aug 2015 18:07:35 +0000 (19:07 +0100)
provision.sh

index 6247786a0efa99093d64614959d8ff7342d57713..47794386080144b1895fb820cf43ccf770d1d836 100644 (file)
@@ -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'