Maint: OpenVPN: only add persist-tun when running without root
This commit is contained in:
@@ -61,6 +61,7 @@ func (t *Torguard) BuildConf(connection models.Connection,
|
||||
|
||||
if !settings.Root {
|
||||
lines = append(lines, "user "+settings.ProcUser)
|
||||
lines = append(lines, "persist-tun")
|
||||
}
|
||||
|
||||
if connection.Protocol == constants.UDP {
|
||||
|
||||
Reference in New Issue
Block a user