java - Linux set -x when run from a process on Azure -
i have bash script sets environment , runs java process. script calls "set -x". have init.d service runs guard java program kinds of guarding tasks including identifying process dead , running shel starts it. on aws works perfect. moved azure , bash script works perfect when run command line, doesn't work when run guarding java process. taking down "set -x" solved , runs on azure. idea can cause issue? thanks, nir
what os version using on azure. not able reproduce issue. ran init.d service runs sample java program in turn invokes shell script has set -x inside it.
is set -x important run script?, because provide verbose of each statement being executed in script.
Comments
Post a Comment