diff options
author | Ruben Pollan <meskio@sindominio.net> | 2018-07-18 20:24:31 +0200 |
---|---|---|
committer | Ruben Pollan <meskio@sindominio.net> | 2018-07-19 20:22:26 +0200 |
commit | e8575286bb20fc46218c82822d7e54e7851d30f3 (patch) | |
tree | c05adf6de7192043cf389c74df22705422099c61 /helper/linux.go | |
parent | fff377679471def36b340fa06d4f8e054ca36426 (diff) |
[feat] add fixed openvpn args and parse the client ones
Diffstat (limited to 'helper/linux.go')
-rw-r--r-- | helper/linux.go | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/helper/linux.go b/helper/linux.go index f21cc55..3817989 100644 --- a/helper/linux.go +++ b/helper/linux.go @@ -23,11 +23,17 @@ import ( ) const ( - logPath = "/var/log/riseupvpn-helper.log" + logFolder = "/var/log/" systemOpenvpnPath = "/usr/sbin/openvpn" snapOpenvpnPath = "/snap/bin/riseup-vpn.openvpn" ) +var ( + platformOpenvpnFlags = []string{ + "--script-security", "1", + } +) + func daemonize() {} func getOpenvpnPath() string { |