sidusnare@alien.topBtoSelf-Hosted Main@selfhosted.forum•Does it make sense to turn the Wireguard server off and on with such a bash script?English
1·
1 year 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.
fail2ban