|
[
Permalink
| « Hide
]
Felipe Leme added a comment - 12/Apr/06 08:38 AM
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:
How "nice": Jira thinks # is a numbering system! Let me try again...
Line 1:
Line 2:
The shell script is generated by plexus-runtime-builder, but i don't want to modify it now because all generated run.sh will have the same chkconfig/description
But you can provide a patch for the documentation. Actually, it's not so simple; just now I realized it doesn't work
It does call the script, but the wrapper fails: STATUS | wrapper | 2006/04/12 12:36:25 | --> Wrapper Started as Daemon I will investigate why... Got the problem: my system didn't have JAVA_HOME properly set for the service scripts. So, the proposed change should be enough (I will try to fix my system to confirm though...)
you don't have JAVA_HOME in your path when the script start
Ok, here is a shell script that creates a wrapper (no pun intended) on /etc/init.d to start continuum, add and enable the wrapper on chkconfig.
The wrapper not only calls continuum but also checks if JAVA_HOME is set. Can you provide a patch for documentation about your script?
Improved script that offers the option to run continuum as a different user than root.
Ok, here is the patch - note though that I didn't test it, as 'mvn site' failed to me...
Improved patch that adds comments on how to run it as a continuum user (and not root).
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||