public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
From: Richard Fish <bigfish@asmallpond.org>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] Init script strangeness.
Date: Mon, 21 Nov 2005 17:24:03 -0700	[thread overview]
Message-ID: <7573e9640511211624l42aaba49w63e3fb8b0c31a574@mail.gmail.com> (raw)
In-Reply-To: <12bada460511211230w603e98b6q@mail.gmail.com>

On 11/21/05, Anthony Roy <antroy@gmail.com> wrote:
> Thanks for the quick reply, but #!/sbin/runscript is the first line -
> it must have scrolled just off of the screen when I copied the text
> (sorry!).

There are 2 conditions required for the start-stop-daemon to
successfully stop the service:

1. A process with the given process id must exist in the system
2. Since you are giving the "--name wiki" option, the process name in
/proc/<pid>/stat must be "wiki".

Can you verify that both of those conditions are true?

# cat /proc/`cat /var/run/antwiki.pid`/stat

-Richard


>
> > You don't appear to have "#!/sbin/runscript" on the first line.
>
> Any other ideas.
>
> --
> Ant...
>
> --
> gentoo-user@gentoo.org mailing list
>
>

-- 
gentoo-user@gentoo.org mailing list



      reply	other threads:[~2005-11-22  0:29 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-11-21 14:11 [gentoo-user] Init script strangeness Anthony Roy
2005-11-21 14:50 ` Neil Bothwick
2005-11-21 20:30   ` Anthony Roy
2005-11-22  0:24     ` Richard Fish [this message]

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=7573e9640511211624l42aaba49w63e3fb8b0c31a574@mail.gmail.com \
    --to=bigfish@asmallpond.org \
    --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