[docs] add some installation instructions

This commit is contained in:
lare 2023-01-16 16:55:56 +01:00
parent 018f45bb9e
commit c17ddf1a03
4 changed files with 95 additions and 1 deletions

3
nodes/start.sh Normal file
View file

@ -0,0 +1,3 @@
#! /bin/bash
source venv/bin/activate
python main.py

25
nodes/wg-services.sh Normal file
View file

@ -0,0 +1,25 @@
#!/bin/bash
ACTION=$1
case $ACTION in
enable)
systemctl enable "wg-quick@dn42_$2";
;;
disable)
systemctl disable "wg-quick@dn42_$2"
;;
start)
systemctl start "wg-quick@dn42_$2"
;;
stop)
systemctl stop "wg-quick@dn42_$2"
;;
*)
echo “User Selected Choice not present”
exit 1
esac