From: Andrey Cherepanov <cas@altlinux.org>
To: devel@lists.altlinux.org
Subject: Re: [devel] firsttime под systemd
Date: Fri, 20 Mar 2020 10:07:53 +0300
Message-ID: <66f1231e-abe3-8d40-3ce4-f1a7faabd0ed@altlinux.org> (raw)
In-Reply-To: <6b182886-23e4-cc14-5db0-2f2b73a38d81@altlinux.org>
20.03.2020 10:02, Denis Medvedev пишет:
> 20.03.2020 09:58, Andrey Cherepanov пишет:
>> При использовании firsttime (запускаемой через /etc/rc5.d/S99local)
>> на системах под systemd мы не имеем сети в скриптах.
>>
>> Вопрос: как правильно решить эту ситуацию?
>>
> Вот мнение авторов systemd по поводу запуска _сервисов_ (не скриптов)
> после старта сети.
>
> https://www.freedesktop.org/wiki/Software/systemd/NetworkTarget/
>
> Может, поможет?
Денис, если бы firsttime.service был бы сервисом Systemd, то можно было
запускать его после network-online.target
Пока же это sysvinit-наследие.
--
Andrey Cherepanov
cas@altlinux.org
next prev parent reply other threads:[~2020-03-20 7:07 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-03-20 6:58 Andrey Cherepanov
2020-03-20 7:02 ` Denis Medvedev
2020-03-20 7:07 ` Andrey Cherepanov [this message]
2020-03-20 7:11 ` Denis Medvedev
2020-03-20 13:11 ` Leonid Krivoshein
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=66f1231e-abe3-8d40-3ce4-f1a7faabd0ed@altlinux.org \
--to=cas@altlinux.org \
--cc=devel@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 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