v2.2-beta update

This commit is contained in:
Donald Cheng Hong Zou
2021-08-03 18:45:40 -04:00
parent 31ec2430c4
commit 42bbfbe538
3 changed files with 145 additions and 14 deletions

View File

@@ -70,7 +70,7 @@ def read_conf_file(config_name):
}
peers_start = 0
for i in range(len(file)):
if not is_match("^#(.*)",file[i]):
if not is_match("#(.*)",file[i]):
if file[i] == "[Peer]":
peers_start = i
break

11
src/wg-dashboard.service Normal file
View File

@@ -0,0 +1,11 @@
[Unit]
After=netword.service
[Service]
WorkingDirectory=<your dashboard directory full path here>
ExecStart=/usr/bin/python3 <your dashboard directory full path here>dashboard.py
Restart=always
[Install]
WantedBy=default.target