Advertisement
Guest User

Untitled

a guest
Jun 23rd, 2017
55
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.95 KB | None | 0 0
  1. + '[' x = x ']'
  2. + DANGER_HOME=/danger
  3. + SCRIPT_HOME=/danger/scripts/service_scripts
  4. + NEEDS_SUPERVISION=1
  5. + service_count=0
  6. + unsupervised_services=0
  7. + '[' stop = '' ']'
  8. + '[' '' = '' ']'
  9. ++ cat /danger/conf.local/startup.conf
  10. ++ grep -v supervise
  11. + service='#spamassassind
  12. tomcat-jdst'
  13. + case "$1" in
  14. + echo 'Stopping supervise...'
  15. Stopping supervise...
  16. + sleep 1
  17. + /danger/scripts/service_scripts/supervise.sh stop
  18. + status=0
  19. + for i in '$service'
  20. + case "$i" in
  21. + test 0 -ne 0
  22. ++ expr 0 + 1
  23. + service_count=1
  24. + for i in '$service'
  25. + case "$i" in
  26. + echo 'about to stop the tomcat-jdst'
  27. about to stop the tomcat-jdst
  28. + /danger/scripts/service_scripts/tomcat-jdst.sh stop
  29. Neither the JAVA_HOME nor the JRE_HOME environment variable is defined
  30. At least one of these environment variable is needed to run this program
  31. + status=0
  32. + test 0 -ne 0
  33. ++ expr 1 + 1
  34. + service_count=2
  35. + test 2 -eq 0
  36. + '[' '' = dev ']'
  37. + '[' 1 = 1 ']'
  38. + case "$1" in
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement