ALT Linux Team development discussions
 help / color / mirror / Atom feed
* [devel] services vs script daemons
@ 2003-10-25 12:12 Alexey Tourbin
  2003-10-26 14:40 ` Dmitry V. Levin
  0 siblings, 1 reply; 2+ messages in thread
From: Alexey Tourbin @ 2003-10-25 12:12 UTC (permalink / raw)
  To: devel

[-- Attachment #1: Type: text/plain, Size: 429 bytes --]

Господа, я собрал mon, запуск и остановка его сейчас выглядят так:

start_daemon --lockfile "$LOCKFILE" --expect-user root -- mon -f -c /etc/mon/mon.cf -P "$PIDFILE"
stop_daemon --pidfile "$PIDFILE" --lockfile "$LOCKFILE" --expect-user root -- perl

В результате получаются смешные сообщения:

$ sudo service mon restart
Stopping perl service: [ DONE ]
Starting mon service: [ DONE ]
$

Вопрос: как быть со скриптовыми демонами?

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [devel] services vs script daemons
  2003-10-25 12:12 [devel] services vs script daemons Alexey Tourbin
@ 2003-10-26 14:40 ` Dmitry V. Levin
  0 siblings, 0 replies; 2+ messages in thread
From: Dmitry V. Levin @ 2003-10-26 14:40 UTC (permalink / raw)
  To: ALT Devel discussion list

[-- Attachment #1: Type: text/plain, Size: 603 bytes --]

On Sat, Oct 25, 2003 at 04:12:44PM +0400, Alexey Tourbin wrote:
> Господа, я собрал mon, запуск и остановка его сейчас выглядят так:
> 
> start_daemon --lockfile "$LOCKFILE" --expect-user root -- mon -f -c /etc/mon/mon.cf -P "$PIDFILE"
> stop_daemon --pidfile "$PIDFILE" --lockfile "$LOCKFILE" --expect-user root -- perl
> 
> В результате получаются смешные сообщения:
> 
> $ sudo service mon restart
> Stopping perl service: [ DONE ]
> Starting mon service: [ DONE ]
> $
> 
> Вопрос: как быть со скриптовыми демонами?

См. /etc/init.d/oki4daemon из пакета gnu-ghostscript-drivers-7.07-alt0.1


-- 
ldv

[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2003-10-26 14:40 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-10-25 12:12 [devel] services vs script daemons Alexey Tourbin
2003-10-26 14:40 ` Dmitry V. Levin

ALT Linux Team development discussions

This inbox may be cloned and mirrored by anyone:

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

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


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