Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #245123
| From | Andy Smith <andy@strugglers.net> |
|---|---|
| Newsgroups | linux.debian.user |
| Subject | Re: Autostart command after network is available (usbip) |
| Date | 2022-02-09 07:10 +0100 |
| Message-ID | <DOOkV-z0R-1@gated-at.bofh.it> (permalink) |
| References | <DOzYB-pL9-7@gated-at.bofh.it> <DOAUF-qrc-1@gated-at.bofh.it> <DOBQJ-r0F-1@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
Hello,
On Tue, Feb 08, 2022 at 05:44:25PM +0100, Christian Britz wrote:
> On 2022-02-08 16:46 UTC+0100, Greg Wooledge wrote:
> > On Tue, Feb 08, 2022 at 03:46:09PM +0100, Christian Britz wrote:
> >> Is this to be done via systemd?
> >
> > Yes, that's where you should be doing this.
>
> That is what I thought of initially. And I think I am _almost_ there.
> The script works, after several hours of trial, errors and your and
> Dan's advice, when I manually execute it via systemctl. Start and stop
> works.
>
> It still does not work during boot time, though:
Last time I was trying to make something start only after the
network was up I found I needed more than
Wants/After=network-online.target when using ifupdown. I wrote it up
here:
https://strugglers.net/~andy/blog/2020/12/03/starting-services-only-when-the-network-is-ready-on-debiansystemd/
Cheers,
Andy
--
https://bitfolk.com/ -- No-nonsense VPS hosting
Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Autostart command after network is available (usbip) Christian Britz <cbritz@t-online.de> - 2022-02-08 15:50 +0100
Re: Autostart command after network is available (usbip) Dan Ritter <dsr@randomstring.org> - 2022-02-08 16:20 +0100
Re: Autostart command after network is available (usbip) Greg Wooledge <greg@wooledge.org> - 2022-02-08 16:50 +0100
Re: Autostart command after network is available (usbip) Christian Britz <cbritz@t-online.de> - 2022-02-08 17:50 +0100
Re: Autostart command after network is available (usbip) Greg Wooledge <greg@wooledge.org> - 2022-02-08 17:50 +0100
OT: Network-Manager Christian Britz <cbritz@t-online.de> - 2022-02-08 18:00 +0100
Re: Autostart command after network is available (usbip) Christian Britz <cbritz@t-online.de> - 2022-02-08 17:50 +0100
Re: Autostart command after network is available (usbip) Andrei POPESCU <andreimpopescu@gmail.com> - 2022-02-09 15:50 +0100
Re: Autostart command after network is available (usbip) Andy Smith <andy@strugglers.net> - 2022-02-09 07:10 +0100
Re: Autostart command after network is available (usbip) 황병희 <soyeomul@doraji.xyz> - 2022-02-09 13:00 +0100
csiph-web