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
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'