Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix install_server.sh for CentOS/RHEL #909

Closed
wants to merge 1 commit into from
Closed

Fix install_server.sh for CentOS/RHEL #909

wants to merge 1 commit into from

Conversation

jimothyGator
Copy link

The check to see if chkconfig exists is missing a space after !, so on CentOS/RHEL, the script will still try to use update-rc.d:

Installing service...
./install_server.sh: line 178: update-rc.d: command not found

This patch changes two occurrences (lines 162 and 176) of :

if [ !`which chkconfig` ] ; then 

to

if [ ! `which chkconfig` ] ; then 

@snird
Copy link

snird commented Dec 22, 2013

This is still relevant on CentOS 6.4 with Redis 2.8.3.

@spuder
Copy link

spuder commented Feb 19, 2014

Still relevant on Centos 6.5 with Redis 2.8.6

@icohen
Copy link

icohen commented Mar 7, 2014

Still relevant on CentOS 6.5 with Redis 2.8.7

@mattsta
Copy link
Contributor

mattsta commented Mar 7, 2014

+1 Merge. Zero risk.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants