ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: REAL <root@mmedia2.kemsu.ru>
To: ALT Linux Community general discussions <community@lists.altlinux.org>
Subject: Re: [Comm] Автоматический запуск программы после загрузки
Date: Mon, 10 Jan 2011 13:29:45 +0600
Message-ID: <4D2AB569.50402@mmedia2.kemsu.ru> (raw)
In-Reply-To: <4D2AAAAF.90902@mail.ru>

10.01.2011 12:43, Vladimir Karpinsky пишет:
> Я сейчас дописываю скрипт для init.d, но не знаю, как сделать так,
> чтобы он понимался командами service и chkconfig.

Посмотрите на любой скрипт в /etc/init.d, то, что Вам нужно, - это 
строка с chkconfig. Например:

chkconfig: 2345 15 85

2345 - это уровни, на которых сервис должен работать. а 15 и 85 - это 
номера в последовательности запуска и останова соответственно.

-- 

REAL aka Евгений Ростовцев, программист ЦНИТ КемГУ


  reply	other threads:[~2011-01-10  7:29 UTC|newest]

Thread overview: 27+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-01-10  5:52 Vladimir Karpinsky
2011-01-10  5:59 ` Stanislav Vlasov
2011-01-10  6:43   ` Vladimir Karpinsky
2011-01-10  7:29     ` REAL [this message]
2011-01-10  7:21       ` Vladimir Karpinsky
2011-01-10  7:24         ` Vladimir Karpinsky
2011-01-10  7:50           ` REAL
2011-01-10  7:48         ` REAL
2011-01-10  7:40           ` Vladimir Karpinsky
2011-01-11  5:58   ` Alexey Novikov
2011-01-11  6:28     ` REAL
2011-01-11  6:58       ` Alexey Novikov
2011-01-11  9:05 ` Dmitry Derjavin
2011-01-11 19:16   ` Vladimir Karpinsky
2011-01-12  4:34     ` REAL
2011-01-12  6:12       ` Vladimir Karpinsky
2011-01-12  6:42         ` REAL
2011-01-12  6:34           ` Vladimir Karpinsky
2011-01-12  6:40             ` Yuri Khachaturyan
2011-01-12  6:45               ` Vladimir Karpinsky
2011-01-13 12:19                 ` Rinat Bikov
2011-01-12  8:16               ` "А. Куликовский"
2011-01-12 17:43           ` Mykola S. Grechukh
2011-01-12  8:15       ` Yura Kalinichenko
2011-01-12  8:56         ` REAL
2011-01-12 17:40           ` Vladimir Karpinsky
2011-01-13  4:35             ` REAL

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=4D2AB569.50402@mmedia2.kemsu.ru \
    --to=root@mmedia2.kemsu.ru \
    --cc=community@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 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