Added ISSUE_TEMPLATE.md, wrote debug script (#115)

This commit is contained in:
redfast00 2016-10-24 19:28:08 +02:00 committed by GitHub
parent d900efe49b
commit 516b93ee43
2 changed files with 36 additions and 1 deletions

20
ISSUE_TEMPLATE.md Normal file
View file

@ -0,0 +1,20 @@
<!-- Hi, you are about to open a new issue. -->
# PiVPN Issue Template
<!-- If the install failed: can you please copy-paste the console output after running `curl install.pivpn.io | bash` between the backticks -->
## Console output of `curl install.pivpn.io | bash`
```
```
<!-- If the generation of an .ovpn file fails / the ovpns folder stays empty, please paste the output of `pivpn add` or `pivpn add nopass` between the backticks -->
## Console output of `pivpn add` or `pivpn add nopass`
```
```
<!-- Please paste the output of `pivpn debug` between the backticks, don't forget to substitute your public IP address if you don't want the world to know it -->
## Console output of `pivpn debug`
```
```
<!-- If something else fails, please state the command you used and it's output -->
<!-- Please explain your issue. Feel free to format your text -->
## Issue

View file

@ -1,2 +1,17 @@
#!/usr/bin/env bash
echo "::: This feature is not yet implemented... stay tuned!"
# This scripts runs as root
echo ":: PiVPN Debug ::"
echo ":: Latest commit ::"
git --git-dir /etc/.pivpn/.git log -n 1
echo ":: list of files in /etc/openvpn/easy-rsa/keys ::"
ls /etc/openvpn/easy-rsa/keys/
echo ":: /etc/pivpn/* ::"
for filename in /etc/pivpn/*; do
echo ":: START $filename ::"
cat "$filename"
echo ":: END $filename ::"
done
echo ":: /etc/openvpn/easy-rsa/keys/Default.txt ::"
cat /etc/openvpn/easy-rsa/keys/Default.txt
echo ":: done ::"