Add chkconfig support to the starting script
--------------------------------------------
Key: CONTINUUM-655
URL: http://jira.codehaus.org/browse/CONTINUUM-655
Project: Continuum
Type: Improvement
Components: Core system
Versions: 1.0.2
Environment: Fedora Core & any RedHat-based system
Reporter: Felipe Leme
I'm using Fedora Core 4 and wanted to start Continuum on startup, so I followed
the instructions below:
http://maven.apache.org/continuum/guides/mini/guide-linux-boot.html
FC (and any RH-based distro) doesn't have the update-rc.d script; instead, they
have chkconfig. So, I created the link on /etc/rc.d and tried to enable
continuum on chkconfig, but it failed:
[EMAIL PROTECTED] init.d]# chkconfig --add continuum
service continuum does not support chkconfig
Looking at the shell script, it's missing the chkconfig commentaries, so I
added them:
#! /bin/sh
# chkconfig: 345 20 80
# description: Maven Continuum server
Now everything is fine:
[EMAIL PROTECTED] init.d]# chkconfig --add continuum
[EMAIL PROTECTED] init.d]# chkconfig continuum on
[EMAIL PROTECTED] init.d]# service continuum start
Starting continuum...
I could provide a patch, but I don't know how the script is generated. So, long
story short, this issue requires 2 changes:
- add the comment above in the run.sh script (or whatever generates it)
- update the documentation (URL above)
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.codehaus.org/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira