minus-squaresidusnare@alien.topBtoSelf-Hosted Main@selfhosted.forum•Does it make sense to turn the Wireguard server off and on with such a bash script?linkfedilinkEnglisharrow-up1·11 months agoI’d use a state file, test for state change, and only run wg-quick on change. This way you can run every minute, and avoid weirdness about running up when already up or down when down. linkfedilink
minus-squaresidusnare@alien.topBtoSelf-Hosted Main@selfhosted.forum•What operating system do you use for your home server? I’m planning to do unraid but what are the other options and why would you pick one or another?linkfedilinkarrow-up1·11 months agoDebian linkfedilink
I’d use a state file, test for state change, and only run wg-quick on change. This way you can run every minute, and avoid weirdness about running up when already up or down when down.