티스토리 뷰

 

#!/bin/sh

#JBOSS_HOME PATH
JBOSS_HOME=/usr/local/jboss-eap-6.3

 

case "$1" in
start)
echo "Starting Jboss EAP 6.3..."
$JBOSS_HOME/bin/standalone.sh &
;;

stop)
echo "Stopping Jboss EAP 6.3..."
$JBOSS_HOME/bin/jboss-cli.sh --connect command=:shutdown
;;
log)
echo "Showing server.log..."
tail -1000f $JBOSS_HOME/standalone/log/server.log
;;
*)
echo "Usage: jboss {start|stop|log}"
exit 1
;;esac
exit 0

공지사항
최근에 올라온 글
최근에 달린 댓글
Total
Today
Yesterday
«   2025/04   »
1 2 3 4 5
6 7 8 9 10 11 12
13 14 15 16 17 18 19
20 21 22 23 24 25 26
27 28 29 30
글 보관함