1
0
Эх сурвалжийг харах

doc(readme): update instructions & improve naming

Mustafa Arici 8 жил өмнө
parent
commit
daf87bf675
2 өөрчлөгдсөн 3 нэмэгдсэн , 3 устгасан
  1. 2 2
      README.md
  2. 1 1
      user.go

+ 2 - 2
README.md

@@ -32,7 +32,7 @@ $ sudo yum-config-manager --add-repo https://cad.github.io/ovpm/rpm/ovpm.repo
 $ sudo yum install ovpm
 ```
 
-**from DEB (Ubuntu/DEBIAN):**
+**from DEB (Ubuntu/Debian):**
 
 This is tested only on Ubuntu >=16.04.3 LTS
 
@@ -56,7 +56,7 @@ $ go get -u github.com/cad/ovpm/...
 ## Start the Server
 You need to start the start OVPM server, which is called **ovpmd**, before doing anything.
 
-**CentOS/Fedora (RPM Package)**
+**CentOS/Fedora/Ubuntu/Debian (RPM or DEB Package)**
 
 Just use systemd to manage ovpmd.
 

+ 1 - 1
user.go

@@ -37,7 +37,7 @@ type dbUserModel struct {
 
 // User represents a vpn user.
 type User struct {
-	dbUserModel
+	dbUserModel // persisted fields
 }
 
 func (u *dbUserModel) setPassword(password string) error {