homeserver/docker/torguard-fix.sh
2025-01-02 21:21:08 +01:00

13 lines
278 B
Bash
Executable File

#!/bin/bash
dir="/apps/homeserver/docker/appdata/gluetun/wireguard"
file="$dir/wg0.conf"
file_old="$dir/wg0.conf.old"
file_tmp="$dir/wg0.conf.tmp"
mv $file $file_tmp
mv $file_old $file
mv $file_tmp $file_old
bash /apps/homeserver/docker/mgmt.sh recreate media qbittorrentvpn