This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# | |
# Designed for running SoapUI mockservicerunner.sh script in background as command line tool | |
# Credits to: tinogomes on github https://gist.github.com/tinogomes/447191 | |
# References: | |
# http://stackoverflow.com/questions/14061876/control-to-the-next-statement-after-running-eval-command | |
# http://stackoverflow.com/questions/392022/best-way-to-kill-all-child-processes/6481337#6481337 | |
# Changes for supporting multiple instances | |
# Variables to edit according to your environment |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
# | |
BASE=/tmp | |
PID=$BASE/app.pid | |
LOG=$BASE/app.log | |
ERROR=$BASE/app-error.log | |
PORT=11211 | |
LISTEN_IP='0.0.0.0' | |
MEM_SIZE=4 |