Re: [gentoo-user] daemon start up problem

2006-02-08 Thread Ryan Tandy
K. Mike Bradley wrote: Here is the script: >snip< You haven't read the documentation for Gentoo rc-scripts. This script was likely developed for a different distribution, for example Debian. Gentoo rc-scripts require, in addition to start() and stop(), a checkconfig() function that let

[gentoo-user] daemon start up problem

2006-02-08 Thread K. Mike Bradley
Here is the script:     #!/bin/sh# description: Start or stop WebServer as a daemon   INSTALL_DIR='/opt/WebCTRL3.0'   SYSTEM=`uname -rsv`## Set up configuration based on system type# If not listed, then not supported#case $SYSTEM in   "SunOS 5."*)  SYSTYPE="Solaris 2.x"  JREPATH='

RE: [gentoo-user] daemon start up problem

2006-02-08 Thread K. Mike Bradley
error in the webservice.sh provided by the app vendor? Thanks for all your help. -Original Message- From: Patrick Börjesson [mailto:[EMAIL PROTECTED] Sent: Wednesday, February 08, 2006 10:37 AM To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] daemon start up problem On 2006

Re: [gentoo-user] daemon start up problem

2006-02-08 Thread Patrick Börjesson
On 2006-02-08 10:08, K. Mike Bradley uttered these thoughts: > Hello, > I am running latest Gentoo. > I want to start my app as a daemon. > This app has a script to do so. > > webservice.sh > > I copied this file to /etc/init.d/ > > I made a link: > > /etc/runlevels/default/webctrl ---> /etc/in

[gentoo-user] daemon start up problem

2006-02-08 Thread K. Mike Bradley
Hello, I am running latest Gentoo. I want to start my app as a daemon. This app has a script to do so. webservice.sh I copied this file to /etc/init.d/ I made a link: /etc/runlevels/default/webctrl ---> /etc/init.d/webservice.sh If I start manually it's ok: /etc/init.d/webservice.sh start Bu