ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: vic ismakaev <viclists@mail.esoo.ru>
To: mandrake-russian@altlinux.ru
Subject: Re: [mdk-re] Custom initscript
Date: Tue Apr 16 17:01:05 2002
Message-ID: <200204161301.SAA09935@ns.esoo.ru> (raw)
In-Reply-To: <20020416162708.063b0bba.vyt@vzljot.ru>

> <skipped>
>
> > start()
> > {
> > 	echo -n "Starting cyrus: "
> > 	# start daemons, perhaps with the daemon function, for example:
> > 	daemon $CYRUS_BIN &
>
> Может, лучше "--bg" вместо "&" ?
>
> <skipped>
Сделал  daemon --bg $CYRUS_BIN
получил 
 [root@devel1 init.d]# ./cyrus start
Starting cyrus: initlog: execvp: No such file or directory   
						[FAILED]

Если  daemon  $CYRUS_BIN --bg
то не запускается в режиме демона,а остается прицепленным к консоли.

и chkconfig также не отрабатывается.
[root@devel1 init.d]# chkconfig --add cyrus
service cyrus does not support chkconfig
[root@devel1 init.d]#

-- 
С уважением
Виктор В Исмакаев



  reply	other threads:[~2002-04-16 17:01 UTC|newest]

Thread overview: 8+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2002-04-16 16:12 vic ismakaev
2002-04-16 16:20 ` Vyt
2002-04-16 17:01   ` vic ismakaev [this message]
2002-04-16 20:13     ` Evgeniy Kobzev
2002-04-17  7:52       ` vic ismakaev
2002-04-17  9:36         ` Evgeniy Kobzev
2002-04-17 10:43           ` vic ismakaev
2002-04-16 16:23 ` [mdk-re] Custom initscript : вдогонку vic ismakaev

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=200204161301.SAA09935@ns.esoo.ru \
    --to=viclists@mail.esoo.ru \
    --cc=mandrake-russian@altlinux.ru \
    /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

ALT Linux Community general discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 community community/ http://lore.altlinux.org/community \
		mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
	public-inbox-index community

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.community


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git