public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Ryan Tandy <tarpman@gmail.com>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] daemon start up problem
Date: Wed, 08 Feb 2006 20:54:37 -0800	[thread overview]
Message-ID: <43EACB0D.3020905@gmail.com> (raw)
In-Reply-To: <001901c62cc9$5c78ff40$0300a8c0@samantha>

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 lets the rc services know what services this 
one requires.  You'll need to either manually figure out the 
dependencies and add a checkconfig(), or simply add 'webservice.sh start 
&' to /etc/conf.d/local.start and 'webservice.sh stop &' to 
/etc/conf.d/local.stop as another poster recommended.

To learn more about rc-scripts and their required functions, run 
'/etc/init.d/webservice.sh help'  (or any service in /etc/init.d).

Also, the script as provided seems to expect to be run from a certain 
CWD with your JRE relative to there.  This is unlikely to work on 
Gentoo, especially given Gentoo's use of java-config to support 
different JREs.
-- 
gentoo-user@gentoo.org mailing list



  reply	other threads:[~2006-02-09  5:03 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-02-08 16:04 [gentoo-user] daemon start up problem K. Mike Bradley
2006-02-09  4:54 ` Ryan Tandy [this message]
  -- strict thread matches above, loose matches on Subject: below --
2006-02-08 15:08 K. Mike Bradley
2006-02-08 15:36 ` Patrick Börjesson
2006-02-08 15:49   ` K. Mike Bradley

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=43EACB0D.3020905@gmail.com \
    --to=tarpman@gmail.com \
    --cc=gentoo-user@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox