forked from tildeverse/net
Update 'peers_update'
parent
b592d6ad18
commit
4fd4e5749c
|
@ -1,3 +1,5 @@
|
|||
#!/bin/bash
|
||||
|
||||
###########################################################################
|
||||
#
|
||||
# $0 - No args
|
||||
|
@ -7,7 +9,7 @@
|
|||
#
|
||||
###########################################################################
|
||||
|
||||
#!/bin/bash
|
||||
|
||||
|
||||
PEERS_SRC="https://tildegit.org/tildeverse/net/raw/branch/master/peers.txt"
|
||||
TMP_PEERS="/tmp/peers.txt"
|
||||
|
@ -16,7 +18,7 @@ TMP_PEERS="/tmp/peers.txt"
|
|||
HEADER_SRC="/root/wg_header"
|
||||
|
||||
# You can point this direct to your wg-conf, or you can cron something else. Your call
|
||||
WG_CONF="/root/wg-tmp.conf"
|
||||
WG_CONF="/etc/wireguard/wg0.conf"
|
||||
|
||||
curl $PEERS_SRC > $TMP_PEERS
|
||||
|
||||
|
|
Loading…
Reference in New Issue