2
0
mirror of https://github.com/pirate/wireguard-docs synced 2024-11-09 01:10:39 +00:00
wireguard-docs/example-simple-server-to-server/public-server1/stop.sh
2019-06-24 05:43:36 -04:00

6 lines
117 B
Bash

#!/bin/bash
PEER_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
wg-quick down "$PEER_DIR"/wg0.conf
wg show