mirror of
https://github.com/mr-vercetti/homeserver.git
synced 2025-01-18 16:25:35 +01:00
13 lines
278 B
Bash
Executable File
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
|