Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- + '[' x = x ']'
- + DANGER_HOME=/danger
- + SCRIPT_HOME=/danger/scripts/service_scripts
- + NEEDS_SUPERVISION=1
- + service_count=0
- + unsupervised_services=0
- + '[' stop = '' ']'
- + '[' '' = '' ']'
- ++ cat /danger/conf.local/startup.conf
- ++ grep -v supervise
- + service='#spamassassind
- tomcat-jdst'
- + case "$1" in
- + echo 'Stopping supervise...'
- Stopping supervise...
- + sleep 1
- + /danger/scripts/service_scripts/supervise.sh stop
- + status=0
- + for i in '$service'
- + case "$i" in
- + test 0 -ne 0
- ++ expr 0 + 1
- + service_count=1
- + for i in '$service'
- + case "$i" in
- + echo 'about to stop the tomcat-jdst'
- about to stop the tomcat-jdst
- + /danger/scripts/service_scripts/tomcat-jdst.sh stop
- Neither the JAVA_HOME nor the JRE_HOME environment variable is defined
- At least one of these environment variable is needed to run this program
- + status=0
- + test 0 -ne 0
- ++ expr 1 + 1
- + service_count=2
- + test 2 -eq 0
- + '[' '' = dev ']'
- + '[' 1 = 1 ']'
- + case "$1" in
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement