Skip to contentSkip to conversation

Hot reload does not work from a script?

DISCUSSION Stephan von Krawczynski 1 participant 1 message Nov 18, 2024

lore
Share & tools
lore
#0 lore raw

Hello all,

can anyone explain why a hot reload as posted everywhere
wg syncconf wg0 <(wg-quick strip wg0)
from a linux console is working as expected whereas the very same line inside a bash script does not work as hot reload but as kind of a restart where online clients have to reconnect. This leves them offline for about 15 seconds. I tried that with the above version and with systemctl, and both react the same.
What is the underlying problem here?
--
Regards,
Stephan