|
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 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.
Felipe Leme made changes - 12/Apr/06 12:45 PM
Can you provide a patch for documentation about your script?
Felipe Leme made changes - 12/Apr/06 03:12 PM
Improved script that offers the option to run continuum as a different user than root.
Felipe Leme made changes - 12/Apr/06 03:13 PM
Ok, here is the patch - note though that I didn't test it, as 'mvn site' failed to me...
Felipe Leme made changes - 12/Apr/06 03:15 PM
Felipe Leme made changes - 12/Apr/06 03:22 PM
Improved patch that adds comments on how to run it as a continuum user (and not root).
Felipe Leme made changes - 12/Apr/06 03:31 PM
Emmanuel Venisse made changes - 24/Apr/06 04:24 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: