1 |
Hi all, |
2 |
|
3 |
I'm trying to write a startup script for helma but start-stop-daemon |
4 |
gives me trouble here (I briefly looked at the jboss and jetty scripts |
5 |
but they don't use start-stop-daemon). As far as I can tell I run the |
6 |
exact same command from my init-script and via commandline, nevertheless |
7 |
the former fails with no error and the one issued from the prompt |
8 |
succeeds. Is java+start-stop-daemon a no-go? |
9 |
|
10 |
works from command prompt: |
11 |
gentoo ~ # start-stop-daemon -v --start --chuid helma --background |
12 |
--pidfile /var/run/helma-default.pid --make-pidfile --startas |
13 |
/opt/sun-jdk-1.5.0.08/bin/java -- -Djava.headless=True -Xmx64m -Xms64m |
14 |
-jar /opt/helma-1.5.1/launcher.jar -h /opt/helma-1.5.1/ -w 8080 |
15 |
|
16 |
-> app is running |
17 |
|
18 |
|
19 |
gentoo ~ # /etc/init.d/helma start |
20 |
* Starting checkconfig with instance default |
21 |
* This is passed to java: -Djava.headless=True -Xms64m -Xmx64m -jar |
22 |
/opt/helma-1.5.1/launcher.jar -h /opt/helma-1.5.1/ -w 8080 |
23 |
* Starting helma instance default. ... |
24 |
Starting /opt/sun-jdk-1.5.0.08/bin/java... |
25 |
Detatching to start /opt/sun-jdk-1.5.0.08/bin/java...done. [ ok ] |
26 |
|
27 |
-> app not running |
28 |
|
29 |
|
30 |
thanks |
31 |
Paul |
32 |
|
33 |
-- |
34 |
gentoo-java@g.o mailing list |