* Jason A. Donenfeld > On Wed, Jun 17, 2020 at 2:17 AM Eric Light <e...@ericlight.com> 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. > > For users who want service management patterns like that, it'd > certainly be possible to map the wg-quick strip stuff to `systemctl > reload wg-quick@wg0.service`, for that purpose. Maybe that's something > we should consider?
For what it is worth, I posted a patch that does exactly this back in March: https://lists.zx2c4.com/pipermail/wireguard/2020-March/005222.html Reviews or user tests would be greatly appreciated. You can also pull from https://github.com/toreanderson/wireguard-tools if you prefer. The commit in question is here: https://github.com/toreanderson/wireguard-tools/commit/8305a267ec4259206c0de7f1d3f9cfb8522a3223 There is one bugfix in GitHub compared to the patch I posted to the list in March - using $REAL_INTERFACE instead of $INTERFACE in wg- quick/openbsd.bash. I can post the updated patch to the list as well if you want, just let me know. Tore