debian下發布wildfly的一個問題

其餘網上教程不少

這裏之說一個現象,若是出現腳本在執行shell

check_status() {
    pidofproc -p "$JBOSS_PIDFILE" "$JAVA" >/dev/null 2>&1
}

結果返回4的狀況code

須要修改169行左右的教程

if [ $status_start -eq 3 ]; then

改爲get

if [ $status_start -ge 3 ]; then

就能夠了class

參考https://developer.jboss.org/t...thread

相關文章
相關標籤/搜索