ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
* [sisyphus] init - скрипты, и возвращаемые значения
@ 2005-11-08  8:26 Artem
  0 siblings, 0 replies; only message in thread
From: Artem @ 2005-11-08  8:26 UTC (permalink / raw)
  To: sisyphus

Строка запуска 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.



^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2005-11-08  8:26 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2005-11-08  8:26 [sisyphus] init - скрипты, и возвращаемые значения Artem

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