I have this simple script to attempt to start 3 different Redis Sentinel processes that will monitor master/slave Redis processes:
# (attempts to run 3 sentinel processes from one script)
redis-sentinel /usr/local/redis/sentinel-26379.conf
redis-sentinel /usr/local/redis/sentinel-26380.conf
redis-sentinel /usr/local/redis/sentinel-26381.conf
# end
but of course, this won't actually start 3 separate processes - it will just run the first command in the terminal window and the second two commands won't be run. What is the best way I can run all 3 commands in separate windows from one script? (I also have some other commands that I would like to run from the same script but I wanted to keep it simple for an example.)
I am using iTerm2 on Mac OSX.