Jafner.net/docker_config/wireguard/wg.sh
2021-03-01 11:45:53 -08:00

6 lines
260 B
Bash
Executable File

#!/bin/bash
# PEERS=$1
# sed -i "s/PEERS=.*/PEERS=$PEERS/g" docker-compose.yml
docker container restart wireguard
rclone copy ./config/ gdrive: --filter "- /coredns/" --filter "- /templates/" --filter "- /server/" --filter "+ peer*.{conf,png}" --filter "- *"