Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
S
StackExchange.Redis
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
tsai
StackExchange.Redis
Commits
18c607d4
Commit
18c607d4
authored
Jun 27, 2018
by
Nick Craver
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Add linux start script for tests
Useful for WSL testing Streams
parent
64a4a523
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
45 additions
and
0 deletions
+45
-0
start-all.sh
RedisConfigs/start-all.sh
+45
-0
No files found.
RedisConfigs/start-all.sh
0 → 100644
View file @
18c607d4
echo
Starting Redis servers
for
testing...
#Basic Servers
echo
Starting Basic: 6379-6382
pushd
Basic
>
/dev/null
echo
Master: 6379
redis-server master-6379.conf &>/dev/null &
echo
Slave: 6380
redis-server slave-6380.conf &>/dev/null &
echo
Secure: 6381
redis-server secure-6381.conf &>/dev/null &
popd
>
/dev/null
#Failover Servers
echo
Starting Failover: 6382-6383
pushd
Failover
>
/dev/null
echo
Master: 6382
redis-server master-6382.conf &>/dev/null &
echo
Slave: 6383
redis-server slave-6383.conf &>/dev/null &
popd
>
/dev/null
# Cluster Servers
echo
Starting Cluster: 7000-7005
pushd
Cluster
>
/dev/null
redis-server cluster-7000.conf &>/dev/null &
redis-server cluster-7001.conf &>/dev/null &
redis-server cluster-7002.conf &>/dev/null &
redis-server cluster-7003.conf &>/dev/null &
redis-server cluster-7004.conf &>/dev/null &
redis-server cluster-7005.conf &>/dev/null &
popd
>
/dev/null
#Sentinel Servers
echo
Starting Sentinel: 7010-7011,26379-26380
pushd
Sentinel
>
/dev/null
echo
Targets: 7010-7011
redis-server redis-7010.conf &>/dev/null &
redis-server redis-7011.conf &>/dev/null &
echo
Monitors: 26379-26380
redis-server sentinel-26379.conf
--sentinel
&>/dev/null &
redis-server sentinel-26380.conf
--sentinel
&>/dev/null &
popd
>
/dev/null
echo
Servers started.
\ No newline at end of file
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment