Details
-
Type:
Improvement
-
Status:
Closed
-
Priority:
Major
-
Resolution: Fixed
-
Affects Version/s: 1.0.2
-
Fix Version/s: 1.0.3
-
Component/s: Core system
-
Labels:None
-
Environment:Fedora Core & any RedHat-based system
-
Complexity:Novice
-
Number of attachments :
Description
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:
[root@localhost 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:
[root@localhost init.d]# chkconfig --add continuum
[root@localhost init.d]# chkconfig continuum on
[root@localhost 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)
OBS: the 1. an 2. above are actually comments (#); I don't know why they were converted while generating this Jira. Anyway, let me try again: