From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1GFCLf-00082a-Jm for garchives@archives.gentoo.org; Mon, 21 Aug 2006 16:10:00 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.7/8.13.6) with SMTP id k7LG9JBu013853; Mon, 21 Aug 2006 16:09:19 GMT Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by robin.gentoo.org (8.13.7/8.13.6) with ESMTP id k7LG9IFK021371 for ; Mon, 21 Aug 2006 16:09:19 GMT Received: from localhost (localhost [127.0.0.1]) by smtp.gentoo.org (Postfix) with ESMTP id 44B45646A1 for ; Mon, 21 Aug 2006 16:09:18 +0000 (UTC) Received: from smtp.gentoo.org ([127.0.0.1]) by localhost (smtp.gentoo.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 23034-08 for ; Mon, 21 Aug 2006 16:09:08 +0000 (UTC) Received: from smtp2.TU-Cottbus.De (smtp2.TU-Cottbus.De [141.43.99.248]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTP id 096DF641FE for ; Mon, 21 Aug 2006 16:09:07 +0000 (UTC) Received: from localhost (loopback [127.0.0.1]) by smtp2.TU-Cottbus.De (Postfix) with ESMTP id 670AA508374 for ; Mon, 21 Aug 2006 18:09:06 +0200 (MEST) Received: from [192.168.0.22] (p54BA711B.dip.t-dialin.net [84.186.113.27]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by smtp2.TU-Cottbus.De (Postfix) with ESMTP id B63C9508372 for ; Mon, 21 Aug 2006 18:08:59 +0200 (MEST) Message-ID: <44E9DB7F.1080709@gmail.com> Date: Mon, 21 Aug 2006 18:12:47 +0200 From: =?ISO-8859-1?Q?Paul_K=F6lle?= User-Agent: Thunderbird 1.5.0.5 (Windows/20060719) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-java@gentoo.org MIME-Version: 1.0 To: gentoo-java@lists.gentoo.org Subject: [gentoo-java] java and start-stop-daemon X-Enigmail-Version: 0.94.0.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Scanned: amavisd-new at gentoo.org X-Spam-Status: No, score=-2.485 required=5.5 tests=[AWL=0.037, BAYES_00=-2.599, TW_JB=0.077] X-Spam-Score: -2.485 X-Spam-Level: X-Archives-Salt: 9940c678-daf8-4605-8c8f-8ef128d3b325 X-Archives-Hash: df9813013f60caab42d7d92346e379f5 Hi all, I'm trying to write a startup script for helma but start-stop-daemon gives me trouble here (I briefly looked at the jboss and jetty scripts but they don't use start-stop-daemon). As far as I can tell I run the exact same command from my init-script and via commandline, nevertheless the former fails with no error and the one issued from the prompt succeeds. Is java+start-stop-daemon a no-go? works from command prompt: gentoo ~ # start-stop-daemon -v --start --chuid helma --background --pidfile /var/run/helma-default.pid --make-pidfile --startas /opt/sun-jdk-1.5.0.08/bin/java -- -Djava.headless=True -Xmx64m -Xms64m -jar /opt/helma-1.5.1/launcher.jar -h /opt/helma-1.5.1/ -w 8080 -> app is running gentoo ~ # /etc/init.d/helma start * Starting checkconfig with instance default * This is passed to java: -Djava.headless=True -Xms64m -Xmx64m -jar /opt/helma-1.5.1/launcher.jar -h /opt/helma-1.5.1/ -w 8080 * Starting helma instance default. ... Starting /opt/sun-jdk-1.5.0.08/bin/java... Detatching to start /opt/sun-jdk-1.5.0.08/bin/java...done. [ ok ] -> app not running thanks Paul -- gentoo-java@gentoo.org mailing list