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
902c0132
Commit
902c0132
authored
Jun 29, 2018
by
Nick Craver
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Indent bash server starts
parent
dc820b87
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
10 additions
and
9 deletions
+10
-9
start-all.sh
RedisConfigs/start-all.sh
+10
-9
No files found.
RedisConfigs/start-all.sh
View file @
902c0132
echo
Starting Redis servers
for
testing...
INDENT
=
' '
echo
"Starting Redis servers for testing..."
#Basic Servers
echo
Starting Basic: 6379-6382
echo
"Starting Basic: 6379-6382"
pushd
Basic
>
/dev/null
echo
Master: 6379
echo
"
${
INDENT
}
Master: 6379"
redis-server master-6379.conf &>/dev/null &
echo
Slave: 6380
echo
"
${
INDENT
}
Slave: 6380"
redis-server slave-6380.conf &>/dev/null &
echo
Secure: 6381
echo
"
${
INDENT
}
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
echo
"
${
INDENT
}
Master: 6382"
redis-server master-6382.conf &>/dev/null &
echo
Slave: 6383
echo
"
${
INDENT
}
Slave: 6383"
redis-server slave-6383.conf &>/dev/null &
popd
>
/dev/null
...
...
@@ -34,10 +35,10 @@ popd > /dev/null
#Sentinel Servers
echo
Starting Sentinel: 7010-7011,26379-26380
pushd
Sentinel
>
/dev/null
echo
Targets: 7010-7011
echo
"
${
INDENT
}
Targets: 7010-7011"
redis-server redis-7010.conf &>/dev/null &
redis-server redis-7011.conf &>/dev/null &
echo
Monitors: 26379-26380
echo
"
${
INDENT
}
Monitors: 26379-26380"
redis-server sentinel-26379.conf
--sentinel
&>/dev/null &
redis-server sentinel-26380.conf
--sentinel
&>/dev/null &
popd
>
/dev/null
...
...
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