Mailinglist Archive: opensuse (1690 mails)

< Previous Next >
Re: [opensuse] startproc in rc scripts
  • From: Per Jessen <per@xxxxxxxxxxxx>
  • Date: Fri, 04 Nov 2011 16:34:38 +0100
  • Message-id: <j910md$pq7$>
Roger Oberholtzer wrote:

On Fri, 2011-11-04 at 00:22 +1030, Rodney Baker wrote:

I'd suggest you many need multiple entries in /etc/rc.d/init.d (e.g.
51- <process>.rc, 52-<process>.rc...n-<process>.rc). I'd see the flow
something like:

I perhaps could have lived with that. But it 'seems' it is not the rc
script name that is behind this. It is the binary that you run. In my
case I am running /sbin/vblade. The second call to startproc senses
that /sbin/vblade is already running and does nothing. If I make a
copy of the binary called /sbin/vblade2, then I can start another.

hi Roger

this is a poor workaround:

create a tiny script, e.g. /sbin/runvblade:

exec /sbin/vblade

You should be able to run "startproc -s /sbin/runvblade" as many times
as you want.

Per Jessen, Zürich (12.1°C)

To unsubscribe, e-mail: opensuse+unsubscribe@xxxxxxxxxxxx
To contact the owner, e-mail: opensuse+owner@xxxxxxxxxxxx

< Previous Next >
Follow Ups