From: Mike Croft Date: Sun, 16 Aug 2015 17:58:32 +0000 (+0100) Subject: changed service script to have an optional domain argument, but still default to... X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=c4fb0bd6c78ecfa1bcb95283e864cf174c827507;p=payara-vagrant.git changed service script to have an optional domain argument, but still default to the preferred payaradomain --- diff --git a/payara_service-4.1.151 b/payara_service-4.1.151 index 47c1061..190ff63 100644 --- a/payara_service-4.1.151 +++ b/payara_service-4.1.151 @@ -21,10 +21,10 @@ stop() { case "$1" in start) - start $2 + start ${2:-payaradomain} ;; stop) - stop $2 + stop ${2:-payaradomain} ;; restart) $PAYARA_HOME/bin/asadmin restart-domain >/dev/null diff --git a/payara_service-4.1.152 b/payara_service-4.1.152 index 8df8e13..505edc6 100644 --- a/payara_service-4.1.152 +++ b/payara_service-4.1.152 @@ -21,10 +21,10 @@ stop() { case "$1" in start) - start $2 + start ${2:-payaradomain} ;; stop) - stop $2 + stop ${2:-payaradomain} ;; restart) $PAYARA_HOME/bin/asadmin restart-domain >/dev/null diff --git a/payara_service-4.1.153 b/payara_service-4.1.153 index 29e84ae..15d884a 100644 --- a/payara_service-4.1.153 +++ b/payara_service-4.1.153 @@ -21,10 +21,10 @@ stop() { case "$1" in start) - start $2 + start ${2:-payaradomain} ;; stop) - stop $2 + stop ${2:-payaradomain} ;; restart) $PAYARA_HOME/bin/asadmin restart-domain >/dev/null