[docs] add some installation instructions
This commit is contained in:
parent
018f45bb9e
commit
c17ddf1a03
4 changed files with 95 additions and 1 deletions
3
nodes/start.sh
Normal file
3
nodes/start.sh
Normal file
|
@ -0,0 +1,3 @@
|
|||
#! /bin/bash
|
||||
source venv/bin/activate
|
||||
python main.py
|
25
nodes/wg-services.sh
Normal file
25
nodes/wg-services.sh
Normal 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
|
Loading…
Add table
Add a link
Reference in a new issue