public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Patrick Börjesson" <psycho@rift.ath.cx>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] daemon start up problem
Date: Wed, 8 Feb 2006 16:36:32 +0100	[thread overview]
Message-ID: <20060208153631.GA4855@nexon> (raw)
In-Reply-To: <001301c62cc1$96c91a70$0300a8c0@samantha>

[-- Attachment #1: Type: text/plain, Size: 1021 bytes --]

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/init.d/webservice.sh
> 
> If I start manually it's ok:
> 
> /etc/init.d/webservice.sh start
> 
> But when I re-boot I get:
> 
> 
> *WARNING:   /etc/init.d/webctrl missing ... Skipping            [ok] 

I would imagine that the init system of Gentoo expects the links in
/etc/runlevels/... to have the same name as the script they link to.

So to get proper behaviour: 
ln -sf /etc/init.d/webservice.sh /etc/runlevels/default/webservice.sh
(or "rc-update add webservice.sh default")

Then remove /etc/runlevels/default/webctrl
 
That should fix it...

-- 
/  Patrick Börjesson
\ -------------------
/  ()  The ASCII Ribbon Campaign - against HTML Email
\  /\   and proprietary formats.

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

  reply	other threads:[~2006-02-08 15:42 UTC|newest]

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

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=20060208153631.GA4855@nexon \
    --to=psycho@rift.ath.cx \
    --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