Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/sh
- /usr/local/tomcat/bin/catalina.sh run &
- status=$?
- if [ $status -ne 0 ]; then
- echo "Failed to start my_first_process: $status"
- exit $status
- fi
- ./second.sh -D
- status=$?
- if [ $status -ne 0 ]; then
- echo "Failed to start my_first_process: $status"
- exit $status
- fi
Add Comment
Please, Sign In to add comment