Article 59DBR Restart a netctl profile on failure

Restart a netctl profile on failure

by
MALDATA
from LinuxQuestions.org on (#59DBR)
Hi all,

I have a system set up to start certain netctl profiles on boot. In some cases, the system may boot before the network's DHCP server does, so that profile fails to start. I would like it if I could configure this netctl profile kind of like a systemd service with Restart=on-failure, so that after a little delay, it'll try to start again. Is there a way to do that?

Alternatively, might netctl hooks be a way to do this (I haven't read up on them yet)? Or will I have to do brute-force it and write a script that constantly checks if the profile is running and tries to start it if it isn't?

Thanks!latest?d=yIl2AUoC8zA latest?i=cLTqFjghwDI:xonvGx_QSpc:F7zBnMy latest?i=cLTqFjghwDI:xonvGx_QSpc:V_sGLiP latest?d=qj6IDK7rITs latest?i=cLTqFjghwDI:xonvGx_QSpc:gIN9vFwcLTqFjghwDI
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments