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

Service fails to start on RHEL5 #682

Closed
dpetzel opened this issue Mar 3, 2014 · 2 comments
Closed

Service fails to start on RHEL5 #682

dpetzel opened this issue Mar 3, 2014 · 2 comments
Milestone

Comments

@dpetzel
Copy link
Contributor

dpetzel commented Mar 3, 2014

When installing via yum on rhel5 I get the following syntax error (it works fine on rhel6)

# service rundeckd start
/etc/init.d/rundeckd: line 27: syntax error near unexpected token `>'
/etc/init.d/rundeckd: line 27: `        nohup runuser -s /bin/bash -l rundeck -c "$rundeckd" &>>$servicelog &'

# cat /etc/redhat-release 
Red Hat Enterprise Linux Server release 5.8 (Tikanga)

Thoughts on changing https://github.com/rundeck/rundeck/blob/development/packaging/root/etc/rc.d/init.d/rundeckd#L27 to nohup runuser -s /bin/bash -l rundeck -c "$rundeckd" >>$servicelog 2>&1 &. This seems to work on both rhel5 and rhel6 for me.

@ahonor
Copy link
Contributor

ahonor commented Mar 18, 2014

Yah this looks good. Mind sending a pull request?

@dpetzel
Copy link
Contributor Author

dpetzel commented Mar 18, 2014

Don't mind at all. Will do so a little later.

@gschueler gschueler added this to the 2.0.3 milestone Mar 18, 2014
@ahonor ahonor closed this as completed in 382695b Mar 19, 2014
ahonor added a commit that referenced this issue Mar 19, 2014
fixes #682 - update syntax to work on el6 and el5
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants