]> git.mxchange.org Git - payara-vagrant.git/commitdiff
changed service script to have an optional domain argument, but still default to...
authorMike Croft <backtotheoldhouse@gmail.com>
Sun, 16 Aug 2015 17:58:32 +0000 (18:58 +0100)
committerMike Croft <backtotheoldhouse@gmail.com>
Sun, 16 Aug 2015 17:58:32 +0000 (18:58 +0100)
payara_service-4.1.151
payara_service-4.1.152
payara_service-4.1.153

index 47c1061f740d4b208b9b077386b407d3dc8da35b..190ff6344a9a5ff787c48968769a6e4bd698d350 100644 (file)
@@ -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
index 8df8e132e8b6fba8a8e5b0a73d35b2372d3ee2a5..505edc66c9f7ddd1903643e7a827c93e204b4405 100644 (file)
@@ -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
index 29e84ae3564f3e5dafe91a1a157f6e146b4d96d3..15d884a4b61d7082eb8230314d70e40ea28ceb62 100644 (file)
@@ -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