Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
ruanhaishen
redis
Commits
7f10703b
Commit
7f10703b
authored
May 04, 2012
by
quiver
Committed by
antirez
May 04, 2012
Browse files
fix several bugs of init.d scripts
- PIDFILE environ variable was not properly retrieved - chkconfig command failed
parent
0cf10e8e
Changes
1
Hide whitespace changes
Inline
Side-by-side
utils/redis_init_script.tpl
View file @
7f10703b
case "$1" in
case "$1" in
start)
start)
if [ -f
$
$PIDFILE ]
if [ -f $PIDFILE ]
then
then
echo "$PIDFILE exists, process is already running or crashed"
echo "$PIDFILE exists, process is already running or crashed"
else
else
...
...
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