Sorry, failure to complete my thought before I sent: "wg-quick wg0 restart" fits much more tightly with the familiar "service x restart" pattern.
E -------------------------------------------- Q: Why is this email five sentences or less? A: http://five.sentenc.es On Wed, 17 Jun 2020, at 20:16, Eric Light wrote: > As a purely Debian user, the 'service x restart' pattern is far more > memorable than the syncconf method. I know personal preference isn't a > great reason to add a knob, but Garrit's method is probably going to be > much more familiar to many users. > > As to _when_ you'd need this... during a config update as you > mentioned, but possibly also to easily generate logs for > troubleshooting a config I suppose? > > E > > -------------------------------------------- > Q: Why is this email five sentences or less? > A: http://five.sentenc.es > > On Wed, 17 Jun 2020, at 19:47, Jason A. Donenfeld wrote: > > Thanks for the patchset. I'm wondering what the intended use case of > > this is. When do you need to set the interface down and then > > immediately up again? Most changes to the config file can be reflected > > with a more simple: > > > > wg syncconf wg0 <(wg-quick strip wg0) > > >