Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #245142

Re: Autostart command after network is available (usbip)

From Andrei POPESCU <andreimpopescu@gmail.com>
Newsgroups linux.debian.user
Subject Re: Autostart command after network is available (usbip)
Date 2022-02-09 15:50 +0100
Message-ID <DOWsb-DJU-15@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> <DOBQK-r0F-9@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

On Ma, 08 feb 22, 17:49:16, Christian Britz wrote:
> 
> 
> On 2022-02-08 17:44 UTC+0100, Christian Britz wrote:
> 
> > [Install]
> > WantedBy=multiuser.target
> 
> Changed that to
> 
> [Install]
> WantedBy=network-online.target

That's like putting the carriage before the horse ;)

(and it probably works only by chance)

You need Wants=network-online.target in addition to After=, see
'man systemd.special' for details.

Kind regards,
Andrei
-- 
http://wiki.debian.org/FAQsFromDebianUser

Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread


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