[systemd-devel] Custom options and passing options via command line.

2022-05-08 Thread Kamil Jońca
I have question about custom options in network interface definitions and passing it via command line. In currend Debian tools (https://manpages.debian.org/buster/ifupdown/interfaces.5.en.html) there is a possibility to define custom option and passing it to up/down script (see ENVIRONMENT VARIABL

Re: [systemd-devel] [systemd] Behavior of "Requires" and "After" in service unit

2022-05-08 Thread Hamza, Muhammad
PFA the service files I am using with this case. I have also tried service type set to "oneshot" in swupdate core service but not change in behavior was observed. From: Hamza, Muhammad Sent: Monday, May 9, 2022 9:10 AM To: 'systemd-devel@lists.freedesktop.org' Subject: [systemd] Behavior of "Re

[systemd-devel] [systemd] Behavior of "Requires" and "After" in service unit

2022-05-08 Thread Hamza, Muhammad
Hello, I am trying to use swupdate services to perform updates on my BSP but there is a problem that I am facing. When update usb is plugged in during the boot time, swupdate core and swupdate-usb service run right after each-other where swupdate-usb service is dependent on swupdate-core service

Re: [systemd-devel] [systemd] Behavior of "Requires" and "After" in service unit

2022-05-08 Thread Mantas Mikulėnas
On Mon, May 9, 2022 at 7:17 AM Hamza, Muhammad wrote: > Hello, > > > > I am trying to use swupdate services to perform updates on my BSP but > there is a problem that I am facing. > > When update usb is plugged in during the boot time, swupdate core and > swupdate-usb service run right after > >