ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
From: Artem <u2u@nm.ru>
To: sisyphus@lists.altlinux.org
Subject: [sisyphus] init - скрипты, и возвращаемые значения
Date: Tue, 08 Nov 2005 10:26:32 +0200
Message-ID: <43706138.4090705@nm.ru> (raw)

Строка запуска slmodemd :

start-stop-daemon --quiet --start -b -m --pidfile $PIDFILE --exec 
/usr/sbin/slmodemd --
--country=RUSSIA


Мда..  Теперь все понятно:

-b|--background
              Typically  used  with  programs  that don't detach on
their own.
              This option will force start-stop-daemon to fork before
starting
              the  process, and force it into the background.  WARNING:
start-
              stop-daemon cannot check the exit status if the process
fails to
              execute for any reason. This is a last resort, and is only
meant
              for programs that either make no sense forking on their
own,  or
              where  it's  not  feasible  to  add  the  code for it to
do this
              itself.

Именно потому что эта гадина не умеет отсоединяться собственными силами
от терминала..
Видимо, пока ему не воткнуть fork, etc... в одно место - нормальным
демоном он не станет. :-D

Rgds, Artem.



                 reply	other threads:[~2005-11-08  8:26 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

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=43706138.4090705@nm.ru \
    --to=u2u@nm.ru \
    --cc=sisyphus@lists.altlinux.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

ALT Linux Sisyphus discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/sisyphus/0 sisyphus/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 sisyphus sisyphus/ http://lore.altlinux.org/sisyphus \
		sisyphus@altlinux.ru sisyphus@altlinux.org sisyphus@lists.altlinux.org sisyphus@lists.altlinux.ru sisyphus@lists.altlinux.com sisyphus@linuxteam.iplabs.ru sisyphus@list.linux-os.ru
	public-inbox-index sisyphus

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


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