From: Michael Shigorin <mike@altlinux.org>
To: devel-newbies@lists.altlinux.org
Subject: Re: [newbies] Скрипт инициализации SysV
Date: Fri, 21 Jan 2022 23:34:53 +0300
Message-ID: <20220121203453.GC1365@imap.altlinux.org> (raw)
In-Reply-To: <503711642687940@mail.yandex.ru>
On Thu, Jan 20, 2022 at 05:23:25PM +0300, Нескажу Евгений wrote:
> Написал скрипт инициализации SysV, но раньше никогда этого не
> делал и не уверен что все правильно.
Если корректно отрабатывают start, stop и status
как при запущенном, так и незапущенном сервисе --
то функционально основные случаи покрыты.
> Тестировал на регулярке icewm sysv, работает, но сомнения все равно есть.
> https://git.altlinux.org/people/koi/packages/?p=radeon-profile-daemon.git;a=blob;f=service-script/radeon-profile-daemon;h=707bed7cd4f3e6c1e3e4b95ac631a4e7b9e62fe6;hb=998808bf5df09abe8143c4041af0313219b854fd
Проверял на эльбрусе, тоже работает.
PS: пришли все четыре письма, если что. :)
При сомнениях можно глянуть в архиве:
http://lists.altlinux.org/pipermail/devel-newbies/
...но писать и впрямь лучше обычным текстом, не HTML.
--
---- WBR, Michael Shigorin / http://altlinux.org
------ http://opennet.ru / http://anna-news.info
parent reply other threads:[~2022-01-21 20:34 UTC|newest]
Thread overview: expand[flat|nested] mbox.gz Atom feed
[parent not found: <503711642687940@mail.yandex.ru>]
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=20220121203453.GC1365@imap.altlinux.org \
--to=mike@altlinux.org \
--cc=devel-newbies@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
devel@ where you _can_ ask
This inbox may be cloned and mirrored by anyone:
git clone --mirror http://lore.altlinux.org/devel-newbies/0 devel-newbies/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-newbies devel-newbies/ http://lore.altlinux.org/devel-newbies \
devel-newbies@lists.altlinux.org devel-newbies@lists.altlinux.ru devel-newbies@lists.altlinux.com
public-inbox-index devel-newbies
Example config snippet for mirrors.
Newsgroup available over NNTP:
nntp://lore.altlinux.org/org.altlinux.lists.devel-newbies
AGPL code for this site: git clone https://public-inbox.org/public-inbox.git