--- /dev/null
+#!/bin/sh
+#
+# Basic Payara service
+#
+
+PAYARA_HOME=/opt/payara/payara-4.1.1.154/payara41
+export PAYARA_HOME
+
+
+
+start() {
+ echo -n "Starting Payara: "
+ $PAYARA_HOME/bin/asadmin start-domain $1
+}
+
+stop() {
+ echo -n "Stopping Payara: "
+ $PAYARA_HOME/bin/asadmin stop-domain $1
+}
+
+
+case "$1" in
+start)
+ start ${2:-payaradomain}
+ ;;
+stop)
+ stop ${2:-payaradomain}
+ ;;
+restart)
+ $PAYARA_HOME/bin/asadmin restart-domain >/dev/null
+ ;;
+\*)
+ echo "usage: $0 (start|stop|restart|help)"
+esac
#
# Payara Version
-PAYARA_VERSION=4.1.153
+PAYARA_VERSION=4.1.1.154
# Payara directory
PAYARA_HOME=/opt/payara/payara-$PAYARA_VERSION
MULTI_LANGUAGE_FULL=http://bit.ly/1Sk4NKm
MULTI_LANGUAGE_WEB=http://bit.ly/1H6pcXw
;;
+ 4.1.1.154)
+ # The below links are to 4.1.1.154
+ FULL=http://bit.ly/1Gm0GIw
+ WEB=http://bit.ly/1S0EEMI
+ MINIMAL=http://bit.ly/1LrpLAz
+ MICRO=http://bit.ly/1W9d2Lb
+ EMBEDDED_FULL=http://bit.ly/1W8PyAw
+ EMBEDDED_WEB=http://bit.ly/1Ktz9zG
+ MULTI_LANGUAGE_FULL=http://bit.ly/1i0pKJm
+ MULTI_LANGUAGE_WEB=http://bit.ly/1NXOVus
+ ;;
PRE-RELEASE)
# The below links are to the latest successful build
FULL=http://payara.co.s3-website-eu-west-1.amazonaws.com/payara-prerelease.zip
4.1.153)
su - vagrant -c 'service payara start payaradomain'
;;
+ 4.1.1.154)
+ su - vagrant -c 'service payara start payaradomain'
+ ;;
PRE-RELEASE)
su - vagrant -c 'service payara start payaradomain'
;;