Actions
Bug #1569
closedInit-Script for RHEL doesnt work
Status:
Closed
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Description
The Init-RC Script for RHEL on RHEL6 doesnt work if you are not in the foreman-home.
If you run /etc/init.d/foreman start from outside of the foreman home you get the error
configuration /config.ru not found
Here is a possible fix for this (maybe someone has a better idea):
--- /opt/foreman/foreman/extras/spec/foreman.init 2012-03-28 14:04:35.828489612 +0100 +++ /etc/init.d/foreman 2012-04-10 05:57:11.827524267 +0100 @@ -23,6 +23,7 @@ start() { echo -n $"Starting $prog: " + cd $FOREMAN_HOME daemon --user ${FOREMAN_USER} /usr/bin/ruby ${FOREMAN_HOME}/script/rails s -p ${FOREMAN_PORT} -e ${FOREMAN_ENV} -d > /dev/null RETVAL=$? if [ $RETVAL = 0 ]
Updated by Ohad Levy almost 13 years ago
- Category set to Packaging
- Difficulty set to trivial
- Assignee set to Anonymous
Updated by Ohad Levy almost 13 years ago
- Project changed from Foreman to Packaging
- Category deleted (
Packaging) - Target version deleted (
1.0)
Updated by Sam Kottler over 12 years ago
- Status changed from New to Closed
I spoke to Jason a few weeks ago about this and it should be resolved. Please re-open the issue if you're still running into problems.
Actions