Jafner.net/docker_config/wireguard/wg.sh

6 lines
260 B
Bash
Raw Normal View History

2021-03-01 11:45:53 -08:00
#!/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 "- *"