Re: [CentOS] Systemd service unit file needs to wait until a specific interface is up

2020-09-24 Thread centos
On 24/09/2020 16:28, Simon Matter wrote: On 24/09/2020 13:41, Simon Matter wrote: I've been dealing with issues like this for a while - systems with multiple interfaces, some of which do not come up for quite a while, and I need to wait for all to be up before running certain tasks. Still haven

Re: [CentOS] Systemd service unit file needs to wait until a specific interface is up

2020-09-24 Thread Simon Matter
> On 24/09/2020 13:41, Simon Matter wrote: >>> I've been dealing with issues like this for a while - systems with multiple interfaces, some of which do not come up for quite a while, and I need to wait for all to be up before running certain tasks. Still haven't found anyt

Re: [CentOS] Systemd service unit file needs to wait until a specific interface is up

2020-09-24 Thread centos
On 24/09/2020 13:41, Simon Matter wrote: I've been dealing with issues like this for a while - systems with multiple interfaces, some of which do not come up for quite a while, and I need to wait for all to be up before running certain tasks. Still haven't found anything very satisfactory.

Re: [CentOS] Systemd service unit file needs to wait until a specific interface is up

2020-09-24 Thread Simon Matter
> On Wed, 23 Sep 2020 at 23:39, Orion Poplawski wrote: > >> On 9/23/20 7:07 AM, Stephen John Smoogen wrote: >> > On Wed, 23 Sep 2020 at 04:33, Carlos Lopez wrote: >> > >> >> Hi all, >> >> >> >> >> >> With SystemD, how can I make certain service dependent on certain >> network >> >> interfaces bei

Re: [CentOS] Systemd service unit file needs to wait until a specific interface is up

2020-09-24 Thread Stephen John Smoogen
On Wed, 23 Sep 2020 at 23:39, Orion Poplawski wrote: > On 9/23/20 7:07 AM, Stephen John Smoogen wrote: > > On Wed, 23 Sep 2020 at 04:33, Carlos Lopez wrote: > > > >> Hi all, > >> > >> > >> With SystemD, how can I make certain service dependent on certain > network > >> interfaces being up? > >>

Re: [CentOS] Systemd service unit file needs to wait until a specific interface is up

2020-09-23 Thread Orion Poplawski
On 9/23/20 7:07 AM, Stephen John Smoogen wrote: On Wed, 23 Sep 2020 at 04:33, Carlos Lopez wrote: Hi all, With SystemD, how can I make certain service dependent on certain network interfaces being up? For example, I have an 802.1ad bond interface I need to wait on for being up (this interfa

Re: [CentOS] Systemd service unit file needs to wait until a specific interface is up

2020-09-23 Thread Carlos Lopez
Perfect!! Many thanks Stephen. Works like a charm. On 23/09/2020, 15:08, "CentOS on behalf of Stephen John Smoogen" wrote: On Wed, 23 Sep 2020 at 04:33, Carlos Lopez wrote: > Hi all, > > > With SystemD, how can I make certain service dependent on certain network > int

Re: [CentOS] Systemd service unit file needs to wait until a specific interface is up

2020-09-23 Thread Stephen John Smoogen
On Wed, 23 Sep 2020 at 04:33, Carlos Lopez wrote: > Hi all, > > > With SystemD, how can I make certain service dependent on certain network > interfaces being up? > > For example, I have an 802.1ad bond interface I need to wait on for being > up (this interface has no ip address assigned, it is u

Re: [CentOS] Systemd service unit file needs to wait until a specific interface is up

2020-09-23 Thread Tony Mountifield
In article <004e8170-e842-4e8b-9623-db3ea236d...@outlook.com>, Carlos Lopez wrote: > Hi all, > > > With SystemD, how can I make certain service dependent on certain network > interfaces being up? > > For example, I have an 802.1ad bond interface I need to wait on for being up > (this interfac

[CentOS] Systemd service unit file needs to wait until a specific interface is up

2020-09-23 Thread Carlos Lopez
Hi all, With SystemD, how can I make certain service dependent on certain network interfaces being up? For example, I have an 802.1ad bond interface I need to wait on for being up (this interface has no ip address assigned, it is used to capture networks packets with a tcpdump’s script). Ever